/******************************************************************************* * This file is part of SWIFT. * Copyright (c) 2016 Matthieu Schaller (schaller@strw.leidenuniv.nl) * * 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_COOLING_STRUCT_PS2020_H #define SWIFT_COOLING_STRUCT_PS2020_H /** * @brief Properties of the cooling stored in the #part data. */ struct cooling_part_data { /*! Subgrid temperature */ float subgrid_temp; /*! Subgrid density (internal units, physical frame) */ float subgrid_dens; }; /** * @brief Properties of the cooling stored in the extended particle data. */ struct cooling_xpart_data { /*! Cumulative energy radiated by the particle */ float radiated_energy; }; #endif /* SWIFT_COOLING_STRUCT_PS2020_H */