SpECTRE  v2024.04.12
Limiters::Weno< VolumeDim, tmpl::list< Tags... > > Class Template Reference

Classes

struct  DisableForDebugging
 Turn the limiter off. More...
 
struct  NeighborWeight
 The linear weight given to each neighbor. More...
 
struct  PackagedData
 Data to send to neighbor elements. More...
 
struct  TvbConstant
 The TVB constant for the minmod TCI. More...
 
struct  Type
 The WenoType. More...
 

Public Types

using options = tmpl::list< Type, NeighborWeight, TvbConstant, DisableForDebugging >
 
using package_argument_tags = tmpl::list< Tags..., domain::Tags::Mesh< VolumeDim >, domain::Tags::SizeOfElement< VolumeDim > >
 
using limit_tags = tmpl::list< Tags... >
 
using limit_argument_tags = tmpl::list< domain::Tags::Mesh< VolumeDim >, domain::Tags::Element< VolumeDim >, domain::Tags::SizeOfElement< VolumeDim > >
 

Public Member Functions

 Weno (WenoType weno_type, double neighbor_linear_weight, double tvb_constant, bool disable_for_debugging=false)
 
 Weno (const Weno &)=default
 
Wenooperator= (const Weno &)=default
 
 Weno (Weno &&)=default
 
Wenooperator= (Weno &&)=default
 
void pup (PUP::er &p)
 
void package_data (gsl::not_null< PackagedData * > packaged_data, const typename Tags::type &... tensors, const Mesh< VolumeDim > &mesh, const std::array< double, VolumeDim > &element_size, const OrientationMap< VolumeDim > &orientation_map) const
 Package data for sending to neighbor elements.
 
bool operator() (const gsl::not_null< std::add_pointer_t< typename Tags::type > >... tensors, const Mesh< VolumeDim > &mesh, const Element< VolumeDim > &element, const std::array< double, VolumeDim > &element_size, const std::unordered_map< DirectionalId< VolumeDim >, PackagedData, boost::hash< DirectionalId< VolumeDim > > > &neighbor_data) const
 Limit the solution on the element.
 

Static Public Attributes

static constexpr Options::String help = {"A WENO limiter for DG"}
 

Friends

template<size_t LocalDim, typename LocalTagList >
bool operator== (const Weno< LocalDim, LocalTagList > &lhs, const Weno< LocalDim, LocalTagList > &rhs)
 

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