SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System > Class Template Reference

Fifth order weighted nonlinear compact scheme reconstruction using the Z oscillation indicator. See fd::reconstruction::wcns5z() for details. More...

#include <Wcns5z.hpp>

Classes

struct  AtmosphereTreatment
struct  Epsilon
struct  FallbackReconstructor
struct  MaxNumberOfExtrema
struct  NonlinearWeightExponent
struct  ReconstructRhoTimesTemperature

Public Types

using options
using reconstruction_argument_tags
Public Types inherited from grmhd::GhValenciaDivClean::fd::Reconstructor< System >
using system = System
using creatable_classes

Public Member Functions

 Wcns5zPrim (Wcns5zPrim &&)=default
Wcns5zPrimoperator= (Wcns5zPrim &&)=default
 Wcns5zPrim (const Wcns5zPrim &)=default
Wcns5zPrimoperator= (const Wcns5zPrim &)=default
 Wcns5zPrim (size_t nonlinear_weight_exponent, double epsilon, FallbackReconstructorType fallback_reconstructor, size_t max_number_of_extrema, ::VariableFixing::FixReconstructedStateToAtmosphere fix_reconstructed_state_to_atmosphere, bool reconstruct_rho_times_temperature)
 Wcns5zPrim (CkMigrateMessage *msg)
 WRAPPED_PUPable_decl_base_template (Reconstructor< System >, Wcns5zPrim< System >)
auto get_clone () const -> std::unique_ptr< Reconstructor< System > > override
void pup (PUP::er &p) override
size_t ghost_zone_size () const override
template<size_t ThermodynamicDim, typename TagsList>
void reconstruct (gsl::not_null< std::array< Variables< TagsList >, dim > * > vars_on_lower_face, gsl::not_null< std::array< Variables< TagsList >, dim > * > vars_on_upper_face, const Variables< hydro::grmhd_tags< DataVector > > &volume_prims, const Variables< typename System::variables_tag::type::tags_list > &volume_spacetime_and_cons_vars, const EquationsOfState::EquationOfState< true, ThermodynamicDim > &eos, const Element< dim > &element, const DirectionalIdMap< dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< dim > &subcell_mesh, const VariableFixing::FixToAtmosphere< dim > &fix_to_atmosphere) const
template<size_t ThermodynamicDim, typename TagsList>
void reconstruct_fd_neighbor (gsl::not_null< Variables< TagsList > * > vars_on_face, const Variables< hydro::grmhd_tags< DataVector > > &subcell_volume_prims, const Variables< grmhd::GhValenciaDivClean::Tags::spacetime_reconstruction_tags > &subcell_volume_spacetime_metric, const EquationsOfState::EquationOfState< true, ThermodynamicDim > &eos, const Element< dim > &element, const DirectionalIdMap< dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< dim > &subcell_mesh, const VariableFixing::FixToAtmosphere< dim > &fix_to_atmosphere, const Direction< dim > &direction_to_reconstruct) const
bool reconstruct_rho_times_temperature () const override
Public Member Functions inherited from grmhd::GhValenciaDivClean::fd::Reconstructor< System >
 Reconstructor (const Reconstructor &)=default
Reconstructoroperator= (const Reconstructor &)=default
 Reconstructor (Reconstructor &&)=default
Reconstructoroperator= (Reconstructor &&)=default
virtual bool supports_adaptive_order () const
void pup (PUP::er &p) override

Static Public Attributes

static constexpr size_t dim = 3
static constexpr Options::String help
static constexpr bool use_adaptive_order = false

Friends

template<typename LocalSystem>
bool operator== (const Wcns5zPrim< LocalSystem > &lhs, const Wcns5zPrim< LocalSystem > &rhs)
template<typename LocalSystem>
bool operator!= (const Wcns5zPrim< LocalSystem > &lhs, const Wcns5zPrim< LocalSystem > &rhs)

Detailed Description

template<typename System>
class grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System >

Fifth order weighted nonlinear compact scheme reconstruction using the Z oscillation indicator. See fd::reconstruction::wcns5z() for details.

Member Typedef Documentation

◆ options

◆ reconstruction_argument_tags

template<typename System>
using grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System >::reconstruction_argument_tags
Initial value:
tmpl::list<::Tags::Variables<hydro::grmhd_tags<DataVector>>,
typename System::variables_tag,
The global cache tag for the variable fixer.
Definition Tags.hpp:41
The Element associated with the DataBox.
Definition Tags.hpp:52
The ghost data used for reconstructing the solution on the interfaces between elements.
Definition GhostDataForReconstruction.hpp:25
The mesh on the subcells.
Definition Mesh.hpp:22
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:343

Member Function Documentation

◆ get_clone()

◆ ghost_zone_size()

template<typename System>
size_t grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System >::ghost_zone_size ( ) const
inlineoverridevirtual

◆ reconstruct_rho_times_temperature()

template<typename System>
bool grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System >::reconstruct_rho_times_temperature ( ) const
overridevirtual

Member Data Documentation

◆ help

template<typename System>
Options::String grmhd::GhValenciaDivClean::fd::Wcns5zPrim< System >::help
staticconstexpr
Initial value:
{
"WCNS 5Z reconstruction scheme using primitive variables."}

The documentation for this class was generated from the following file:
  • src/Evolution/Systems/GrMhd/GhValenciaDivClean/FiniteDifference/Wcns5z.hpp