SpECTRE  v2024.04.12
ScalarAdvection::fd::AoWeno53< Dim > Class Template Reference

Adaptive-order WENO reconstruction hybridizing orders 5 and 3. See fd::reconstruction::aoweno_53() for details. More...

#include <AoWeno.hpp>

Classes

struct  Epsilon
 
struct  GammaHi
 
struct  GammaLo
 
struct  NonlinearWeightExponent
 

Public Types

using options = tmpl::list< GammaHi, GammaLo, Epsilon, NonlinearWeightExponent >
 
using reconstruction_argument_tags = tmpl::list<::Tags::Variables< volume_vars_tags >, domain::Tags::Element< Dim >, evolution::dg::subcell::Tags::GhostDataForReconstruction< Dim >, evolution::dg::subcell::Tags::Mesh< Dim > >
 
- Public Types inherited from ScalarAdvection::fd::Reconstructor< Dim >
using creatable_classes = tmpl::list< AoWeno53< Dim >, MonotonisedCentral< Dim > >
 

Public Member Functions

 AoWeno53 (AoWeno53 &&)=default
 
AoWeno53operator= (AoWeno53 &&)=default
 
 AoWeno53 (const AoWeno53 &)=default
 
AoWeno53operator= (const AoWeno53 &)=default
 
 AoWeno53 (double gamma_hi, double gamma_lo, double epsilon, size_t nonlinear_weight_exponent)
 
 AoWeno53 (CkMigrateMessage *msg)
 
 WRAPPED_PUPable_decl_base_template (Reconstructor< Dim >, AoWeno53)
 
auto get_clone () const -> std::unique_ptr< Reconstructor< Dim > > override
 
void pup (PUP::er &p) 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
 
virtual std::unique_ptr< Reconstructor< Dim > > get_clone () const =0
 
virtual size_t ghost_zone_size () const =0
 

Static Public Attributes

static constexpr Options::String help
 

Friends

template<size_t LocalDim>
bool operator== (const AoWeno53< LocalDim > &lhs, const AoWeno53< LocalDim > &rhs)
 

Detailed Description

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

Adaptive-order WENO reconstruction hybridizing orders 5 and 3. See fd::reconstruction::aoweno_53() for details.

Member Function Documentation

◆ get_clone()

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

◆ ghost_zone_size()

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

Member Data Documentation

◆ help

template<size_t Dim>
constexpr Options::String ScalarAdvection::fd::AoWeno53< Dim >::help
staticconstexpr
Initial value:
{
"Adaptive-order WENO reconstruction hybridizing orders 5 and 3."}

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