star_formation_logger_struct.h 1.69 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*******************************************************************************
 * This file is part of SWIFT.
 * Copyright (c) 2019 Folkert Nobels (nobels@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 <http://www.gnu.org/licenses/>.
 *
 ******************************************************************************/
#ifndef SWIFT_STAR_FORMATION_LOGGER_STRUCT_H
#define SWIFT_STAR_FORMATION_LOGGER_STRUCT_H

/**
23 24
 * @file src/star_formation_logger_struct.h
 * @brief Branches between the different SFH loggers
25 26 27 28 29
 */

/* Config parameters. */
#include "../config.h"

30
/* Import the right SFH logger struct definition */
31 32
#if defined(STAR_FORMATION_NONE)
#include "./star_formation/none/star_formation_logger_struct.h"
33 34
#elif defined(STAR_FORMATION_QLA)
#include "./star_formation/none/star_formation_logger_struct.h"
35 36
#elif defined(STAR_FORMATION_EAGLE)
#include "./star_formation/EAGLE/star_formation_logger_struct.h"
37 38
#elif defined(STAR_FORMATION_GEAR)
#include "./star_formation/GEAR/star_formation_logger_struct.h"
39 40 41 42 43
#else
#error "Invalid choice of star formation structure."
#endif

#endif /* SWIFT_STAR_FORMATION_LOGGER_STRUCT_H */