Memosa-FVM  0.2
ElectricBC< T > Struct Template Reference

#include <ElectricBC.h>

Inheritance diagram for ElectricBC< T >:
Collaboration diagram for ElectricBC< T >:

Public Member Functions

 ElectricBC ()
 
- Public Member Functions inherited from FloatVarDict< T >
bool hasVar (const string varName) const
 
operator[] (const string varName) const
 
bool isField (const string varName) const
 
FieldgetField (const string varName) const
 
FloatVal< T > getVal (const string varName) const
 

Public Attributes

string bcType
 

Additional Inherited Members

- Public Types inherited from FloatVarDict< T >
typedef map< string, FloatVal
< T > > 
T_Parent
 
- Protected Member Functions inherited from FloatVarDict< T >
void defineVar (const string varName, const T defaultValue)
 

Detailed Description

template<class T>
struct ElectricBC< T >

Definition at line 13 of file ElectricBC.h.

Constructor & Destructor Documentation

template<class T>
ElectricBC< T >::ElectricBC ( )
inline

Definition at line 15 of file ElectricBC.h.

References FloatVarDict< T >::defineVar().

16  {
17  this->defineVar("specifiedPotential",T(300.0));
18  this->defineVar("specifiedPotentialFlux",T(0.0));
19  this->defineVar("specifiedXElecField",T(0.0));
20  this->defineVar("specifiedYElecField",T(0.0));
21  this->defineVar("specifiedZElecField",T(0.0));
22  this->defineVar("specifiedCharge",T(0.0));
23  this->defineVar("specifiedChargeFlux",T(0.0));
24  this->defineVar("timeStep",T(1.0));
25 
26  }
void defineVar(const string varName, const T defaultValue)
Definition: FloatVarDict.h:94

Member Data Documentation


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