SpECTRE  v2022.09.02
Burgers::fd::MonotonisedCentral Class 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 = tmpl::list<::Tags::Variables< volume_vars_tags >, domain::Tags::Element< 1 >, evolution::dg::subcell::Tags::NeighborDataForReconstruction< 1 >, evolution::dg::subcell::Tags::Mesh< 1 > >
 
- Public Types inherited from Burgers::fd::Reconstructor
using creatable_classes = tmpl::list< MonotonisedCentral >
 

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 > override
 
size_t ghost_zone_size () const override
 
void reconstruct (gsl::not_null< std::array< Variables< face_vars_tags >, 1 > * > vars_on_lower_face, gsl::not_null< std::array< Variables< face_vars_tags >, 1 > * > vars_on_upper_face, const Variables< tmpl::list< Burgers::Tags::U > > &volume_vars, const Element< 1 > &element, const FixedHashMap< maximum_number_of_neighbors(1), std::pair< Direction< 1 >, ElementId< 1 > >, std::vector< double >, boost::hash< std::pair< Direction< 1 >, ElementId< 1 > > > > &neighbor_data, const Mesh< 1 > &subcell_mesh) const
 
void reconstruct_fd_neighbor (gsl::not_null< Variables< face_vars_tags > * > vars_on_face, const Variables< volume_vars_tags > &volume_vars, const Element< 1 > &element, const FixedHashMap< maximum_number_of_neighbors(1), std::pair< Direction< 1 >, ElementId< 1 > >, std::vector< double >, boost::hash< std::pair< Direction< 1 >, ElementId< 1 > > > > &neighbor_data, const Mesh< 1 > &subcell_mesh, const Direction< 1 > direction_to_reconstruct) const
 
- Public Member Functions inherited from Burgers::fd::Reconstructor
 Reconstructor (const Reconstructor &)=default
 
Reconstructoroperator= (const Reconstructor &)=default
 
 Reconstructor (Reconstructor &&)=default
 
Reconstructoroperator= (Reconstructor &&)=default
 
void pup (PUP::er &p) override
 
virtual std::unique_ptr< Reconstructorget_clone () const =0
 
virtual size_t ghost_zone_size () const =0
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

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

Member Function Documentation

◆ get_clone()

auto Burgers::fd::MonotonisedCentral::get_clone ( ) const -> std::unique_ptr< Reconstructor >
overridevirtual

◆ ghost_zone_size()

size_t Burgers::fd::MonotonisedCentral::ghost_zone_size ( ) const
inlineoverridevirtual

Member Data Documentation

◆ help

constexpr Options::String Burgers::fd::MonotonisedCentral::help
staticconstexpr
Initial value:
{
"Monotonised central reconstruction scheme."}

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