WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::functions::kinetics::kinetics1d1v_arbitrary_shocktube Class Reference

Double Rarefaction 1D Riemann Problem See: Buffard and Clain -> Monoslope and multislope MUSCL methods for unstructured meshes Journal of Computational Physics, 229 (2010) 3745-3376. More...

#include <1d1v_arbitrary_shocktube.h>

Inheritance diagram for wxm::functions::kinetics::kinetics1d1v_arbitrary_shocktube:
WmICFunction

Detailed Description

Double Rarefaction 1D Riemann Problem See: Buffard and Clain -> Monoslope and multislope MUSCL methods for unstructured meshes Journal of Computational Physics, 229 (2010) 3745-3376.

https://ac.els-cdn.com/S0021999110000495/1-s2.0-S0021999110000495-main.pdf?_tid=e51b7b8a-8b83-4578-a6e6-e338b59cf38a&acdnat=1524338362_0ddf7d2efc1b73e6510cbe8f19b53250

there is also a 2d version of this.. See: Zhang and Shu -> Positivity-preserving high order finite difference weno schemes for compressible euler equations Journal of Computational Physics, 231 (2012) 2245-2258

https://ac.els-cdn.com/S0021999111006759/1-s2.0-S0021999111006759-main.pdf?_tid=745c3b70-f1a9-4697-b4d5-676298901b33&acdnat=1523668639_6000ad46cbb113d92750651568781711

Public Member Functions

 kinetics1d1v_arbitrary_shocktube ()
 Create new gem.
 
 ~kinetics1d1v_arbitrary_shocktube ()
 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

◆ kinetics1d1v_arbitrary_shocktube()

wxm::functions::kinetics::kinetics1d1v_arbitrary_shocktube::kinetics1d1v_arbitrary_shocktube ( )

Create new gem.

◆ ~kinetics1d1v_arbitrary_shocktube()

wxm::functions::kinetics::kinetics1d1v_arbitrary_shocktube::~kinetics1d1v_arbitrary_shocktube ( )

Destroy gem.

Member Function Documentation

◆ applyFunction()

void wxm::functions::kinetics::kinetics1d1v_arbitrary_shocktube::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::kinetics::kinetics1d1v_arbitrary_shocktube::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: