WARPXM v1.10.0
Loading...
Searching...
No Matches
WmPHMaxwellFluidSource Class Reference

#include <wmphmaxwellfluidsource.h>

Inheritance diagram for WmPHMaxwellFluidSource:
WmUnstructuredApp WmVariableParser

Public Member Functions

 WmPHMaxwellFluidSource ()
 
 ~WmPHMaxwellFluidSource ()
 
void setup (const WxCryptSet &wxc)
 
std::string generateSourceCall (const WmUnstructuredEquationSet &eqSet, unsigned int callType) const
 
std::string generateSource (const WmUnstructuredEquationSet &eqSet) const
 
- Public Member Functions inherited from WmUnstructuredApp
 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)
 

Protected Attributes

int _numFluids
 
WmKernelVariable * _field
 
WmKernelVariable * _chargeDensity
 
WmKernelVariable * _currentDensity
 
real _eps0
 
real _nefsl
 
real _ndl
 
real _chi
 
variableList_t _densities
 
variableList_t _velocities
 
variableList_t _momentums
 
std::vector< real_masses
 
std::vector< real_charges
 
- Protected Attributes inherited from WmUnstructuredApp
variableList_t _fluxVariables
 
variableList_t _sourceVariables
 
variableList_t _externalVariables
 
variableList_t _privateVariables
 
- Protected Attributes inherited from WmVariableParser
const WmSolverBase_parentSolver
 
WxLogStream _debStrm
 

Additional Inherited Members

- Public Types inherited from WmUnstructuredApp
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
 
- Static Public Member Functions inherited from WmUnstructuredApp
static void replaceKeys (std::string &string, const replaceMap_t &map)
 
- Protected Member Functions inherited from WmUnstructuredApp
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 inherited from WmUnstructuredApp
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)
 

Constructor & Destructor Documentation

◆ WmPHMaxwellFluidSource()

WmPHMaxwellFluidSource::WmPHMaxwellFluidSource ( )

◆ ~WmPHMaxwellFluidSource()

WmPHMaxwellFluidSource::~WmPHMaxwellFluidSource ( )

Member Function Documentation

◆ generateSource()

std::string WmPHMaxwellFluidSource::generateSource ( const WmUnstructuredEquationSet eqSet) const
virtual

Implements WmUnstructuredApp.

◆ generateSourceCall()

std::string WmPHMaxwellFluidSource::generateSourceCall ( const WmUnstructuredEquationSet eqSet,
unsigned int  callType 
) const
virtual

Implements WmUnstructuredApp.

◆ setup()

void WmPHMaxwellFluidSource::setup ( const WxCryptSet wxc)
virtual

Reimplemented from WmUnstructuredApp.

Member Data Documentation

◆ _chargeDensity

WmKernelVariable* WmPHMaxwellFluidSource::_chargeDensity
protected

◆ _charges

std::vector<real> WmPHMaxwellFluidSource::_charges
protected

◆ _chi

real WmPHMaxwellFluidSource::_chi
protected

◆ _currentDensity

WmKernelVariable* WmPHMaxwellFluidSource::_currentDensity
protected

◆ _densities

variableList_t WmPHMaxwellFluidSource::_densities
protected

◆ _eps0

real WmPHMaxwellFluidSource::_eps0
protected

◆ _field

WmKernelVariable* WmPHMaxwellFluidSource::_field
protected

◆ _masses

std::vector<real> WmPHMaxwellFluidSource::_masses
protected

◆ _momentums

variableList_t WmPHMaxwellFluidSource::_momentums
protected

◆ _ndl

real WmPHMaxwellFluidSource::_ndl
protected

◆ _nefsl

real WmPHMaxwellFluidSource::_nefsl
protected

◆ _numFluids

int WmPHMaxwellFluidSource::_numFluids
protected

◆ _velocities

variableList_t WmPHMaxwellFluidSource::_velocities
protected

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