Skip to content
Snippets Groups Projects
Select Git revision
  • f8497b7fdbefc3278f080a20c1e51a1e85c488dd
  • master default protected
  • beyond-mesh-pair-removal
  • optimise-space-split-tpool
  • split-space-split
  • better-space-split-tpool
  • melion/BalsaraKim
  • darwin/gear_preSN_fbk_merge
  • reyz/gear_preSN_feedback
  • mark_bug
  • FS_VP_m2_allGrad
  • nickishch/MHD_canvas/OWAR_fully_symmetric_ShearAndRotation
  • fstasys/VEP_Fm2
  • darwin/gear_chemistry_fluxes
  • MHD_canvas protected
  • sidm_merge protected
  • fewer_gpart_comms
  • zoom_merge protected
  • MAGMA2_matthieu
  • darwin/sink_mpi_physics
  • darwin/gear_mechanical_feedback
  • v2025.10 protected
  • v2025.04 protected
  • v2025.01 protected
  • v1.0.0 protected
  • v0.9.0 protected
  • v0.8.5 protected
  • v0.8.4 protected
  • v0.8.3 protected
  • v0.8.2 protected
  • v0.8.1 protected
  • v0.8.0 protected
  • v0.7.0 protected
  • v0.6.0 protected
  • v0.5.0 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0-pre protected
  • v0.1 protected
  • v0.0 protected
41 results

feedback_struct.h

Blame
  • feedback_struct.h 1.40 KiB
    /*******************************************************************************
     * This file is part of SWIFT.
     * Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
     *
     ******************************************************************************/
    #ifndef SWIFT_FEEDBACK_STRUCT_H
    #define SWIFT_FEEDBACK_STRUCT_H
    
    /**
     * @file src/feedback_struct.h
     * @brief Branches between the different feedback functions.
     */
    
    /* Config parameters. */
    #include "../config.h"
    
    /* Import the right feedback definition */
    #if defined(FEEDBACK_NONE)
    #include "./feedback/none/feedback_struct.h"
    #elif defined(FEEDBACK_EAGLE)
    #include "./feedback/EAGLE/feedback_struct.h"
    #else
    #error "Invalid choice of feedback function."
    #endif
    
    #endif /* SWIFT_FEEDBACK_STRUCT_H */