/******************************************************************************* * 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 . * ******************************************************************************/ #ifndef SWIFT_COLIBRE_FEEDBACK_LOGGER_STRUCT_H #define SWIFT_COLIBRE_FEEDBACK_LOGGER_STRUCT_H #include "event_logger_core.h" #ifdef SWIFT_DEBUG_CHECKS /* feedback history debug for SNIa */ struct feedback_history_debug { /* The file pointer of the struct */ FILE *fp; /* The lock of the debugger struct */ swift_lock_type lock; }; #endif /* SWIFT_DEBUG_CHECKS */ /* Global variable for the SNIa events */ extern struct feedback_history_SNIa log_SNIa; /* Global variable for the SNII events */ extern struct feedback_history_SNII log_SNII; /* Global variable for the r-processes */ extern struct feedback_history_r_processes log_r_processes; #ifdef SWIFT_DEBUG_CHECKS /* Global variable for SNIa events in debugging mode */ extern struct feedback_history_debug log_SNIa_debug; /* Global variable for SNII events in debugging mode */ extern struct feedback_history_debug log_SNII_debug; #endif #endif /* SWIFT_COLIBRE_FEEDBACK_LOGGER_STRUCT_H */