Adds a linear decay \(\partial_{t} q = a q\).
- Parameters
-
| Type | UnstructuredApp |
| Kind | decay |
| a | real decay rate. Should be non-positive for a stable decay. |
| q | variable to decay. Should have a single component. |
|
| typedef std::map< std::string, std::string > | replaceMap_t |
| |
| typedef std::map< std::string, std::string > | constantsMap_t |
| |
| typedef std::vector< component_t > | componentList_t |
| |
| static void | replaceKeys (std::string &string, const replaceMap_t &map) |
| |
| 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 > |
| 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 > |
| T | readVal (const WxCryptSet &wxc, const std::string &name, const T &defaultValue) const |
| |
| 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 void | indent (std::string &indentation) |
| |
| static void | outdent (std::string &indentation) |
| |
| template<typename T > |
| static std::string | toStr (const T &val) |
| |
| 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) |
| |
| variableList_t | _fluxVariables |
| |
| variableList_t | _sourceVariables |
| |
| variableList_t | _externalVariables |
| |
| variableList_t | _privateVariables |
| |
| const WmSolverBase * | _parentSolver |
| |
| WxLogStream | _debStrm |
| |