ViennaLS
Loading...
Searching...
No Matches
lsInternal::LaxFriedrichs< T, D, order > Class Template Reference

Lax Friedrichs integration scheme with constant alpha value for dissipation. This alpha value should be fitted based on the results of the advection and passed to the advection Kernel. More...

#include <lsLaxFriedrichs.hpp>

Public Member Functions

 LaxFriedrichs (SmartPointer< viennals::Domain< T, D > > passedlsDomain, SmartPointer< viennals::VelocityField< T > > vel, double alpha, hrleVectorType< T, 3 > &alphas, bool calcNormal)
 
std::pair< T, Toperator() (const hrleVectorType< hrleIndexType, D > &indices, int material)
 
void reduceTimeStepHamiltonJacobi (double &MaxTimeStep, hrleCoordType gridDelta)
 

Static Public Member Functions

static void prepareLS (SmartPointer< viennals::Domain< T, D > > passedlsDomain)
 

Static Public Attributes

static const int order_ = order
 

Detailed Description

template<class T, int D, int order>
class lsInternal::LaxFriedrichs< T, D, order >

Lax Friedrichs integration scheme with constant alpha value for dissipation. This alpha value should be fitted based on the results of the advection and passed to the advection Kernel.

Constructor & Destructor Documentation

◆ LaxFriedrichs()

template<class T, int D, int order>
lsInternal::LaxFriedrichs< T, D, order >::LaxFriedrichs ( SmartPointer< viennals::Domain< T, D > > passedlsDomain,
SmartPointer< viennals::VelocityField< T > > vel,
double alpha,
hrleVectorType< T, 3 > & alphas,
bool calcNormal )
inline

Member Function Documentation

◆ operator()()

template<class T, int D, int order>
std::pair< T, T > lsInternal::LaxFriedrichs< T, D, order >::operator() ( const hrleVectorType< hrleIndexType, D > & indices,
int material )
inline

◆ prepareLS()

template<class T, int D, int order>
static void lsInternal::LaxFriedrichs< T, D, order >::prepareLS ( SmartPointer< viennals::Domain< T, D > > passedlsDomain)
inlinestatic

◆ reduceTimeStepHamiltonJacobi()

template<class T, int D, int order>
void lsInternal::LaxFriedrichs< T, D, order >::reduceTimeStepHamiltonJacobi ( double & MaxTimeStep,
hrleCoordType gridDelta )
inline

Member Data Documentation

◆ order_

template<class T, int D, int order>
const int lsInternal::LaxFriedrichs< T, D, order >::order_ = order
static

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