SpECTRE
v2024.04.12
|
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 | |
Reconstructor & | operator= (const Reconstructor &)=default |
Reconstructor (Reconstructor &&)=default | |
Reconstructor & | operator= (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 |
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.