Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstddef>
7 :
8 : #include "DataStructures/VariablesTag.hpp"
9 : #include "Evolution/Particles/MonteCarlo/Tags.hpp"
10 : #include "Evolution/Systems/GeneralizedHarmonic/Tags.hpp"
11 : #include "PointwiseFunctions/GeneralRelativity/Tags.hpp"
12 : #include "PointwiseFunctions/Hydro/Tags.hpp"
13 : #include "PointwiseFunctions/Hydro/TagsDeclarations.hpp"
14 : #include "Utilities/TMPL.hpp"
15 :
16 : namespace Particles::MonteCarlo {
17 :
18 0 : struct System {
19 0 : static constexpr bool is_in_flux_conservative_form = false;
20 0 : static constexpr bool has_primitive_and_conservative_vars = false;
21 0 : static constexpr size_t volume_dim = 3;
22 : // The EoS is used within the MC code itself, even if we provide
23 : // the fluid variables as a background.
24 0 : static constexpr size_t thermodynamic_dim = 3;
25 :
26 0 : using mc_variables_tag = ::Tags::Variables<
27 : tmpl::list<Particles::MonteCarlo::Tags::PacketsOnElement>>;
28 0 : using variables_tag = ::Tags::Variables<tmpl::list<>>; // mc_variables_tag;
29 0 : using flux_variables = tmpl::list<>;
30 0 : using gradient_variables = tmpl::list<>;
31 : // GR tags needed for background metric
32 0 : using spacetime_variables_tag = ::Tags::Variables<tmpl::list<
33 : gr::Tags::Lapse<DataVector>, gr::Tags::Shift<DataVector, volume_dim>,
34 : gr::Tags::SpatialMetric<DataVector, volume_dim>,
35 : gr::Tags::InverseSpatialMetric<DataVector, volume_dim>,
36 : gr::Tags::SqrtDetSpatialMetric<DataVector>,
37 : gh::Tags::Phi<DataVector, volume_dim, Frame::Inertial>>>;
38 0 : using flux_spacetime_variables_tag = ::Tags::Variables<tmpl::list<>>;
39 : // Hydro tags needed for background fluid
40 0 : using hydro_variables_tag = ::Tags::Variables<hydro::grmhd_tags<DataVector>>;
41 0 : using primitive_variables_tag = hydro_variables_tag;
42 :
43 0 : using inverse_spatial_metric_tag =
44 : gr::Tags::InverseSpatialMetric<DataVector, 3>;
45 : };
46 : } // namespace Particles::MonteCarlo
|