SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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
using package_argument_tags
using limit_tags = tmpl::list<Tags...>
using limit_argument_tags

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)

Member Typedef Documentation

◆ limit_argument_tags

template<size_t VolumeDim, typename... Tags>
using Limiters::Weno< VolumeDim, tmpl::list< Tags... > >::limit_argument_tags
Initial value:
tmpl::list<domain::Tags::Mesh<VolumeDim>,
The Element associated with the DataBox.
Definition Tags.hpp:52
The inertial-coordinate size of an element along each of its logical directions.
Definition SizeOfElement.hpp:78

◆ options

template<size_t VolumeDim, typename... Tags>
using Limiters::Weno< VolumeDim, tmpl::list< Tags... > >::options
Initial value:
tmpl::list<Type, NeighborWeight, TvbConstant, DisableForDebugging>

◆ package_argument_tags

template<size_t VolumeDim, typename... Tags>
using Limiters::Weno< VolumeDim, tmpl::list< Tags... > >::package_argument_tags
Initial value:
Contains objects related to Tags.
Definition DataBoxTag.hpp:15
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62

The documentation for this class was generated from the following file:
  • src/Evolution/DiscontinuousGalerkin/Limiters/Weno.hpp