/******************************************************************************* * This file is part of SWIFT. * Copyright (c) 2020 Mladen Ivkovic (mladen.ivkovic@hotmail.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . * ******************************************************************************/ #ifndef SWIFT_RT_IO_NONE_H #define SWIFT_RT_IO_NONE_H #include "io_properties.h" /** * @file src/rt/none/rt_io.h * @brief Main header file for no radiative transfer scheme IO routines. */ /** * @brief Specifies which particle fields to read from a dataset * * @param parts The particle array. * @param list The list of i/o properties to read. * * @return Returns the number of fields to read. */ INLINE static int rt_read_particles(const struct part* parts, struct io_props* list) { return 0; } /** * @brief Specifies which particle fields to read from a dataset * * @param sparts The star particle array. * @param list The list of i/o properties to read. * * @return Returns the number of fields to read. */ INLINE static int rt_read_stars(const struct spart* sparts, struct io_props* list) { return 0; } /** * @brief Creates additional output fields for the radiative * transfer data of hydro particles. * * @param parts The particle array. * @param list The list of i/o properties to write. * * @return Returns the number of fields to write. */ INLINE static int rt_write_particles(const struct part* parts, struct io_props* list) { return 0; } /** * @brief Creates additional output fields for the radiative * transfer data of star particles. * * @param sparts The star particle array. * @param list The list of i/o properties to write. * * @return Returns the number of fields to write. */ INLINE static int rt_write_stars(const struct spart* sparts, struct io_props* list) { return 0; } /** * @brief Write the RT model properties to the snapshot. * * @param h_grp The HDF5 group in which to write * @param h_grp_columns The HDF5 group containing named columns * @param e The engine * @param internal_units The internal unit system * @param snapshot_units Units used for the snapshot * @param rtp The #rt_props */ INLINE static void rt_write_flavour(hid_t h_grp, hid_t h_grp_columns, const struct engine* e, const struct unit_system* internal_units, const struct unit_system* snapshot_units, const struct rt_props* rtp) {} #endif /* SWIFT_RT_IO_NONE_H */