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

#include <wmpcmaxwellflux.h>

Inheritance diagram for WmPCMaxwellFlux:
WmUnstructuredApp WmVariableParser

Public Member Functions

 WmPCMaxwellFlux ()
 
 ~WmPCMaxwellFlux ()
 
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

bool _cleaningOnly
 
bool _fluxOnly
 
int _numFluids
 
std::vector< real_masses
 
std::vector< real_charges
 
variableList_t _densities
 
variableList_t _velocities
 
variableList_t _momentums
 
variableList_t _gradDensities
 
WmKernelVariable * _field
 
real _chiE
 
real _chiB
 
real c0_norm
 
real omega_p_norm
 
real omega_c_norm
 
WmKernelVariable * _currentDensity
 
WmKernelVariable * _gradChargeDensity
 
WmKernelVariable * _gradXDivE
 
WmKernelVariable * _gradYDivE
 
WmKernelVariable * _gradZDivE
 
WmKernelVariable * _gradXDivB
 
WmKernelVariable * _gradYDivB
 
WmKernelVariable * _gradZDivB
 
- 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

◆ WmPCMaxwellFlux()

WmPCMaxwellFlux::WmPCMaxwellFlux ( )

◆ ~WmPCMaxwellFlux()

WmPCMaxwellFlux::~WmPCMaxwellFlux ( )

Member Function Documentation

◆ generateSource()

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

Implements WmUnstructuredApp.

◆ generateSourceCall()

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

Implements WmUnstructuredApp.

◆ setup()

void WmPCMaxwellFlux::setup ( const WxCryptSet wxc)
virtual

Reimplemented from WmUnstructuredApp.

Member Data Documentation

◆ _charges

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

◆ _chiB

real WmPCMaxwellFlux::_chiB
protected

◆ _chiE

real WmPCMaxwellFlux::_chiE
protected

◆ _cleaningOnly

bool WmPCMaxwellFlux::_cleaningOnly
protected

◆ _currentDensity

WmKernelVariable* WmPCMaxwellFlux::_currentDensity
protected

◆ _densities

variableList_t WmPCMaxwellFlux::_densities
protected

◆ _field

WmKernelVariable* WmPCMaxwellFlux::_field
protected

◆ _fluxOnly

bool WmPCMaxwellFlux::_fluxOnly
protected

◆ _gradChargeDensity

WmKernelVariable* WmPCMaxwellFlux::_gradChargeDensity
protected

◆ _gradDensities

variableList_t WmPCMaxwellFlux::_gradDensities
protected

◆ _gradXDivB

WmKernelVariable* WmPCMaxwellFlux::_gradXDivB
protected

◆ _gradXDivE

WmKernelVariable* WmPCMaxwellFlux::_gradXDivE
protected

◆ _gradYDivB

WmKernelVariable* WmPCMaxwellFlux::_gradYDivB
protected

◆ _gradYDivE

WmKernelVariable* WmPCMaxwellFlux::_gradYDivE
protected

◆ _gradZDivB

WmKernelVariable* WmPCMaxwellFlux::_gradZDivB
protected

◆ _gradZDivE

WmKernelVariable* WmPCMaxwellFlux::_gradZDivE
protected

◆ _masses

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

◆ _momentums

variableList_t WmPCMaxwellFlux::_momentums
protected

◆ _numFluids

int WmPCMaxwellFlux::_numFluids
protected

◆ _velocities

variableList_t WmPCMaxwellFlux::_velocities
protected

◆ c0_norm

real WmPCMaxwellFlux::c0_norm
protected

◆ omega_c_norm

real WmPCMaxwellFlux::omega_c_norm
protected

◆ omega_p_norm

real WmPCMaxwellFlux::omega_p_norm
protected

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