WARPXM v1.10.0
Loading...
Searching...
No Matches
WmUnstructuredApp Class Referenceabstract

#include <wmunstructuredapp.h>

Inheritance diagram for WmUnstructuredApp:
WmVariableParser WmAdvectionFlux WmBurgersFlux WmEulerRoeFlux WmPCMaxwellFlux WmPHMaxwellFluidSource WmPHMaxwellFlux WmPearsonIVHLLFlux WmPlasma13MomentCollisionFlux WmPlasma13MomentFieldSource WmPlasma13MomentInterCollisionalSourceBGK WmPlasma13MomentIntraCollisionalSourceBGK WmPlasma13MomentRelax WmPlasma5MomentBraginskiiFlux WmPlasma5MomentBraginskiiSource WmPlasma5MomentCollisionSource WmPlasma5MomentFieldSource WmReconstructionTest wxm::fvm::decay

Public Types

typedef std::map< std::string, std::string > replaceMap_t
 
- Public Types inherited from WmVariableParser
typedef std::map< std::string, std::string > constantsMap_t
 
typedef std::vector< component_tcomponentList_t
 

Public Member Functions

 WmUnstructuredApp ()
 
virtual ~WmUnstructuredApp ()
 
virtual void setup (const WxCryptSet &wxc)
 
virtual std::string generateSourceCall (const WmUnstructuredEquationSet &eqSet, unsigned int callType) const =0
 
virtual std::string generateSource (const WmUnstructuredEquationSet &eqSet) const =0
 
virtual void consolidateVariables (variableList_t &varList, unsigned int callType)
 
- Public Member Functions inherited from WmVariableParser
 WmVariableParser ()
 
virtual ~WmVariableParser ()
 
void setParentSolver (const WmSolverBase *solver)
 
componentList_t parseVariablesFromCryptset (const WxCryptSet &wxe, const std::string &fieldName)
 

Static Public Member Functions

static void replaceKeys (std::string &string, const replaceMap_t &map)
 

Protected Member Functions

std::string fillAllocationAtIndex (const std::string &indentation, const WmKernelVariable *kVars[], int numKVars, int startIndex=0, const std::string &allocationName="pPVS->rA") const
 
template<typename T >
readVal (const WxCryptSet &wxc, const std::string &name) const
 
template<typename T >
std::vector< T > readVec (const WxCryptSet &wxc, const std::string &name) const
 
template<typename T >
readVal (const WxCryptSet &wxc, const std::string &name, const T &defaultValue) const
 
- Protected Member Functions inherited from WmVariableParser
variableTypeList_t decomposeVariableName (const WxAny &varName) const
 
bool hasVariable (const WxCryptSet &wxc, const std::string &varName) const
 
bool hasVariableVector (const WxCryptSet &wxc, const std::string &varName) const
 
componentList_t parseVariableNameIntoComponents (const std::string &fullVarName)
 

Static Protected Member Functions

static void indent (std::string &indentation)
 
static void outdent (std::string &indentation)
 
template<typename T >
static std::string toStr (const T &val)
 
- Static Protected Member Functions inherited from WmVariableParser
static std::string itos (int value)
 
static std::string getAnyString (const WxAny &any)
 
static std::string getTypeString (const std::type_info &type)
 
static size_t getTypeSize (const std::type_info &typeinfo)
 

Protected Attributes

variableList_t _fluxVariables
 
variableList_t _sourceVariables
 
variableList_t _externalVariables
 
variableList_t _privateVariables
 
- Protected Attributes inherited from WmVariableParser
const WmSolverBase_parentSolver
 
WxLogStream _debStrm
 

Member Typedef Documentation

◆ replaceMap_t

typedef std::map<std::string, std::string> WmUnstructuredApp::replaceMap_t

Constructor & Destructor Documentation

◆ WmUnstructuredApp()

WmUnstructuredApp::WmUnstructuredApp ( )

◆ ~WmUnstructuredApp()

virtual WmUnstructuredApp::~WmUnstructuredApp ( )
virtual

Member Function Documentation

◆ consolidateVariables()

virtual void WmUnstructuredApp::consolidateVariables ( variableList_t &  varList,
unsigned int  callType 
)
virtual

◆ fillAllocationAtIndex()

std::string WmUnstructuredApp::fillAllocationAtIndex ( const std::string &  indentation,
const WmKernelVariable *  kVars[],
int  numKVars,
int  startIndex = 0,
const std::string &  allocationName = "pPVS->rA" 
) const
protected

◆ generateSource()

◆ generateSourceCall()

◆ indent()

static void WmUnstructuredApp::indent ( std::string &  indentation)
inlinestaticprotected

◆ outdent()

static void WmUnstructuredApp::outdent ( std::string &  indentation)
inlinestaticprotected

◆ readVal() [1/2]

template<typename T >
T WmUnstructuredApp::readVal ( const WxCryptSet wxc,
const std::string &  name 
) const
inlineprotected

◆ readVal() [2/2]

template<typename T >
T WmUnstructuredApp::readVal ( const WxCryptSet wxc,
const std::string &  name,
const T &  defaultValue 
) const
inlineprotected

◆ readVec()

template<typename T >
std::vector< T > WmUnstructuredApp::readVec ( const WxCryptSet wxc,
const std::string &  name 
) const
inlineprotected

◆ replaceKeys()

static void WmUnstructuredApp::replaceKeys ( std::string &  string,
const replaceMap_t map 
)
static

◆ setup()

◆ toStr()

template<typename T >
static std::string WmUnstructuredApp::toStr ( const T &  val)
inlinestaticprotected

Member Data Documentation

◆ _externalVariables

variableList_t WmUnstructuredApp::_externalVariables
protected

◆ _fluxVariables

variableList_t WmUnstructuredApp::_fluxVariables
protected

◆ _privateVariables

variableList_t WmUnstructuredApp::_privateVariables
protected

◆ _sourceVariables

variableList_t WmUnstructuredApp::_sourceVariables
protected

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