SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
NewtonianEuler::fd::Reconstructor< Dim > Class Template Referenceabstract

The base class from which all reconstruction schemes must inherit. More...

#include <Reconstructor.hpp>

Public Types

using creatable_classes

Public Member Functions

 Reconstructor (const Reconstructor &)=default
Reconstructoroperator= (const Reconstructor &)=default
 Reconstructor (Reconstructor &&)=default
Reconstructoroperator= (Reconstructor &&)=default
virtual std::unique_ptr< Reconstructor< Dim > > get_clone () const =0
virtual size_t ghost_zone_size () const =0
void pup (PUP::er &p) override

Detailed Description

template<size_t Dim>
class NewtonianEuler::fd::Reconstructor< Dim >

The base class from which all reconstruction schemes must inherit.

Currently we have hard-coded reconstructing \(\rho, p, v^i\). However, the DG-subcell solver is coded generally enough that an efficient implementation of reconstructing the conserved or characteristic variables is also possible. It is not yet clear how much info about what is being reconstructed is needed at compile time and so we currently append Prim to the end of the reconstruction schemes to clarify that they are reconstructing the primitive variables. Ideally the choice of what variables to reconstruct can be made by a runtime argument to the individual reconstruction schemes.

Member Typedef Documentation

◆ creatable_classes

template<size_t Dim>
using NewtonianEuler::fd::Reconstructor< Dim >::creatable_classes
Initial value:
tmpl::list<AoWeno53Prim<Dim>, MonotonisedCentralPrim<Dim>>
Monotonised central reconstruction. See fd::reconstruction::monotonised_central() for details.
Definition MonotonisedCentral.hpp:55

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