SpECTRE
v2025.03.17
|
The base class from which all reconstruction schemes must inherit. More...
#include <Reconstructor.hpp>
Public Types | |
using | creatable_classes = implementation defined |
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 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.