WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::functions::five_moment::euler2d_rp1 Class Reference

Class to run initial function of RP1 Problem as defined in "A Simple and Effictive High-Order Shock-Capturing Limiter for Discontinuous Galerkin Methods" by Scott Moe, James Rossmanith, and David Seal, arXiv 1507.03024v1, 2015. More...

#include <euler2d_rp1.h>

Inheritance diagram for wxm::functions::five_moment::euler2d_rp1:
WmICFunction

Detailed Description

Class to run initial function of RP1 Problem as defined in "A Simple and Effictive High-Order Shock-Capturing Limiter for Discontinuous Galerkin Methods" by Scott Moe, James Rossmanith, and David Seal, arXiv 1507.03024v1, 2015.

Public Member Functions

 euler2d_rp1 ()
 Create new gem.
 
 ~euler2d_rp1 ()
 Destroy gem.
 
void setup (const WxCryptSet &wxc)
 Setup gem object using supplied cryptset.
 
void applyFunction (const real *position, real *value) const
 Evaluate the function at a position and return the result through a pointer.
 
- Public Member Functions inherited from WmICFunction
 WmICFunction ()
 Create new WmICFunction.
 
virtual ~WmICFunction ()
 Destroy WmICFunction.
 
virtual void setup (const WxCryptSet &wxc)
 Setup WmICFunction object using supplied cryptset.
 
const std::string & getName () const
 Get name of this function.
 
int getNumArguments () const
 Get number of arguments returned by this icFunction.
 
template<typename T >
void apply (const real position[3], T *value) const
 Evaluate the function at a position and return the result through a pointer position and value must be double precision.
 

Additional Inherited Members

virtual void applyFunction (const real *position, real *value) const =0
 This is the currently apply function call - recasts to real.
 
- Protected Attributes inherited from WmICFunction
std::string _name
 
int _numArgs
 
real_rvalues
 

Constructor & Destructor Documentation

◆ euler2d_rp1()

wxm::functions::five_moment::euler2d_rp1::euler2d_rp1 ( )

Create new gem.

◆ ~euler2d_rp1()

wxm::functions::five_moment::euler2d_rp1::~euler2d_rp1 ( )

Destroy gem.

Member Function Documentation

◆ applyFunction()

void wxm::functions::five_moment::euler2d_rp1::applyFunction ( const real position,
real value 
) const
virtual

Evaluate the function at a position and return the result through a pointer.

Parameters
pPosition to evaluate function (must have at least 3 components)
vValue evaluated at position (must be allocated outside function)

Implements WmICFunction.

◆ setup()

void wxm::functions::five_moment::euler2d_rp1::setup ( const WxCryptSet wxc)
virtual

Setup gem object using supplied cryptset.

Parameters
wxcCryptset to use for setting

Reimplemented from WmICFunction.


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