SpECTRE  v2026.11.11
Loading...
Searching...
No Matches
NewtonianMhd::System< Dim, EvolveMagneticField > Struct Template Reference

Public Types

using boundary_conditions_base = BoundaryConditions::BoundaryCondition<Dim>
using flux_variables
using variables_tag = ::Tags::Variables<flux_variables>
using non_conservative_variables = tmpl::list<>
using gradient_variables = tmpl::list<>
using primitive_variables_tag
using compute_volume_time_derivative_terms
using conservative_from_primitive = ConservativeFromPrimitive<Dim>
using primitive_from_conservative = PrimitiveFromConservative<Dim>
using compute_largest_characteristic_speed

Static Public Member Functions

static std::string name ()

Static Public Attributes

static constexpr bool evolve_magnetic_field = EvolveMagneticField
static constexpr bool is_in_flux_conservative_form = true
static constexpr bool has_primitive_and_conservative_vars = true
static constexpr size_t volume_dim = Dim

Member Typedef Documentation

◆ compute_largest_characteristic_speed

template<size_t Dim, bool EvolveMagneticField = true>
using NewtonianMhd::System< Dim, EvolveMagneticField >::compute_largest_characteristic_speed
Initial value:
Computes the largest magnitude of the characteristic speeds.
Definition Characteristics.hpp:282

◆ compute_volume_time_derivative_terms

template<size_t Dim, bool EvolveMagneticField = true>
using NewtonianMhd::System< Dim, EvolveMagneticField >::compute_volume_time_derivative_terms
Initial value:
tmpl::conditional_t<
EvolveMagneticField,
detail::MagneticFieldNotSupportedYet<EvolveMagneticField>,
Compute the time derivative of the conserved variables for the Newtonian Euler system.
Definition TimeDerivativeTerms.hpp:46

◆ flux_variables

template<size_t Dim, bool EvolveMagneticField = true>
using NewtonianMhd::System< Dim, EvolveMagneticField >::flux_variables
Initial value:
tmpl::append<
tmpl::list<Tags::MassDensityCons, Tags::MomentumDensity<Dim>,
tmpl::conditional_t<EvolveMagneticField,
tmpl::list<Tags::MagneticFieldCons<>,
tmpl::list<>>>
The GLM divergence-cleaning field as a conservative variable.
Definition Tags.hpp:78
The energy density of the fluid.
Definition Tags.hpp:61

◆ primitive_variables_tag

template<size_t Dim, bool EvolveMagneticField = true>
using NewtonianMhd::System< Dim, EvolveMagneticField >::primitive_variables_tag
Initial value:
::Tags::Variables<tmpl::append<
tmpl::list<hydro::Tags::RestMassDensity<DataVector>,
tmpl::conditional_t<
EvolveMagneticField,
tmpl::list<hydro::Tags::MagneticField<DataVector, 3>,
tmpl::list<>>>>
Definition VariablesTag.hpp:17
The divergence-cleaning field .
Definition Tags.hpp:99
The fluid pressure .
Definition Tags.hpp:234
The spatial velocity of the fluid, where . Here is the spatial part of the 4-velocity of the fluid,...
Definition Tags.hpp:257
The specific internal energy .
Definition Tags.hpp:292

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/NewtonianMhd/System.hpp