SpECTRE  v2024.04.12
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 = tmpl::list< AoWeno53Prim< Dim >, MonotonisedCentralPrim< Dim > >
 

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.


The documentation for this class was generated from the following file: