Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include "Evolution/Systems/NewtonianEuler/Sources/LaneEmdenGravitationalField.hpp" 7 : #include "Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp" 8 : #include "Evolution/Systems/NewtonianEuler/Sources/Source.hpp" 9 : #include "Evolution/Systems/NewtonianEuler/Sources/UniformAcceleration.hpp" 10 : #include "Evolution/Systems/NewtonianEuler/Sources/VortexPerturbation.hpp" 11 : 12 1 : namespace NewtonianEuler::Sources { 13 : /// All the available source terms. 14 : template <size_t Dim> 15 1 : using all_sources = tmpl::append< 16 : tmpl::conditional_t< 17 : Dim == 3, tmpl::list<LaneEmdenGravitationalField, VortexPerturbation>, 18 : tmpl::list<>>, 19 : tmpl::list<NoSource<Dim>, UniformAcceleration<Dim>>>; 20 : } // namespace NewtonianEuler::Sources