Base class ("Veneer") that implements the actual mapping from 'jvar' in into the _coupled_moose_vars array. More...
#include <JvarMapInterface.h>
Public Member Functions | |
JvarMapInterfaceBase (const InputParameters ¶meters) | |
unsigned int | mapJvarToCvar (unsigned int jvar) |
Return index into the _coupled_moose_vars array for a given jvar. More... | |
bool | mapJvarToCvar (unsigned int jvar, unsigned int &cvar) |
Set the cvar value to the mapped jvar value and return true if the mapping exists. More... | |
Private Attributes | |
std::vector< int > | _jvar_map |
look-up table to determine the _coupled_moose_vars index for the jvar parameter More... | |
Friends | |
class | JvarMapKernelInterface< T > |
class | JvarMapIntegratedBCInterface< T > |
Base class ("Veneer") that implements the actual mapping from 'jvar' in into the _coupled_moose_vars array.
Definition at line 17 of file JvarMapInterface.h.
JvarMapInterfaceBase< T >::JvarMapInterfaceBase | ( | const InputParameters & | parameters | ) |
Definition at line 88 of file JvarMapInterface.h.
unsigned int JvarMapInterfaceBase< T >::mapJvarToCvar | ( | unsigned int | jvar | ) |
Return index into the _coupled_moose_vars array for a given jvar.
Definition at line 109 of file JvarMapInterface.h.
bool JvarMapInterfaceBase< T >::mapJvarToCvar | ( | unsigned int | jvar, |
unsigned int & | cvar | ||
) |
Set the cvar value to the mapped jvar value and return true if the mapping exists.
Otherwise return false.
[in] | jvar | Variable number passed as argument to computeQpOffDiagJacobian |
[out] | cvar | Corresponding index into the _coupled_moose_vars array |
|
friend |
Definition at line 84 of file JvarMapInterface.h.
|
friend |
Definition at line 83 of file JvarMapInterface.h.
|
private |
look-up table to determine the _coupled_moose_vars index for the jvar parameter
Definition at line 81 of file JvarMapInterface.h.
Referenced by JvarMapIntegratedBCInterface< T >::computeJacobianBlock(), JvarMapKernelInterface< Kernel >::computeOffDiagJacobian(), JvarMapInterfaceBase< Kernel >::JvarMapInterfaceBase(), and JvarMapInterfaceBase< Kernel >::mapJvarToCvar().