SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ScalarAdvection::fd::MonotonisedCentral< Dim > Class Template Reference

Monotonised central reconstruction. See fd::reconstruction::monotonised_central() for details. More...

#include <MonotonisedCentral.hpp>

Public Types

using options = tmpl::list<>
using reconstruction_argument_tags
Public Types inherited from ScalarAdvection::fd::Reconstructor< Dim >
using creatable_classes = tmpl::list<AoWeno53<Dim>, MonotonisedCentral<Dim>>

Public Member Functions

 MonotonisedCentral (MonotonisedCentral &&)=default
MonotonisedCentraloperator= (MonotonisedCentral &&)=default
 MonotonisedCentral (const MonotonisedCentral &)=default
MonotonisedCentraloperator= (const MonotonisedCentral &)=default
void pup (PUP::er &p) override
auto get_clone () const -> std::unique_ptr< Reconstructor< Dim > > override
size_t ghost_zone_size () const override
template<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< tmpl::list< ScalarAdvection::Tags::U > > &volume_vars, const Element< Dim > &element, const DirectionalIdMap< Dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< Dim > &subcell_mesh) const
template<typename TagsList>
void reconstruct_fd_neighbor (gsl::not_null< Variables< TagsList > * > vars_on_face, const Variables< tmpl::list< ScalarAdvection::Tags::U > > &volume_vars, const Element< Dim > &element, const DirectionalIdMap< Dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< Dim > &subcell_mesh, const Direction< Dim > direction_to_reconstruct) const
Public Member Functions inherited from ScalarAdvection::fd::Reconstructor< Dim >
 Reconstructor (const Reconstructor &)=default
Reconstructoroperator= (const Reconstructor &)=default
 Reconstructor (Reconstructor &&)=default
Reconstructoroperator= (Reconstructor &&)=default
void pup (PUP::er &p) override

Static Public Attributes

static constexpr Options::String help

Detailed Description

template<size_t Dim>
class ScalarAdvection::fd::MonotonisedCentral< Dim >

Monotonised central reconstruction. See fd::reconstruction::monotonised_central() for details.

Member Typedef Documentation

◆ reconstruction_argument_tags

template<size_t Dim>
using ScalarAdvection::fd::MonotonisedCentral< Dim >::reconstruction_argument_tags
Initial value:
tmpl::list<::Tags::Variables<volume_vars_tags>,
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

Member Function Documentation

◆ get_clone()

template<size_t Dim>
auto ScalarAdvection::fd::MonotonisedCentral< Dim >::get_clone ( ) const -> std::unique_ptr< Reconstructor< Dim > >
overridevirtual

◆ ghost_zone_size()

template<size_t Dim>
size_t ScalarAdvection::fd::MonotonisedCentral< Dim >::ghost_zone_size ( ) const
inlineoverridevirtual

Member Data Documentation

◆ help

template<size_t Dim>
Options::String ScalarAdvection::fd::MonotonisedCentral< Dim >::help
staticconstexpr
Initial value:
{
"Monotonised central reconstruction scheme."}

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