Interface class ("Veneer") for IntegratedBC to provide a mapping from 'jvar' in computeJacobianBlock into the _coupled_moose_vars array. More...
#include <JvarMapInterface.h>
| Public Types | |
| typedef std::vector< int > | JvarMap | 
| Public Member Functions | |
| JvarMapIntegratedBCInterface (const InputParameters ¶meters) | |
| virtual void | computeOffDiagJacobian (unsigned int jvar) override | 
| unsigned int | mapJvarToCvar (unsigned int jvar) | 
| Return index into the _coupled_moose_vars array for a given jvar.  More... | |
| int | mapJvarToCvar (unsigned int jvar, const JvarMap &jvar_map) | 
| Return an index into a specific coupled variable vector 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... | |
| const JvarMap & | getJvarMap () | 
| Obtain the map connecting libmesh variable ID number to its position in the _coupled_moose_vars vector.  More... | |
| const JvarMap & | getParameterJvarMap (std::string parameter_name) | 
| Make a specific map for a given parameter name representing a couple variable (vector)  More... | |
| Static Public Member Functions | |
| static InputParameters | validParams () | 
| Protected Attributes | |
| const unsigned int | _n_args | 
| number of coupled moose variables  More... | |
Interface class ("Veneer") for IntegratedBC to provide a mapping from 'jvar' in computeJacobianBlock into the _coupled_moose_vars array.
This class is useful in conjunction with DerivativeMaterialInterface, where vectors of material property derivatives with respect to all coupled variables (iterating over _coupled_moose_vars array) are generated. The mapping enabled the look up of the correct material property derivatives for the current jvar.
Definition at line 48 of file JvarMapInterface.h.
| 
 | inherited | 
Definition at line 63 of file JvarMapInterface.h.
| JvarMapIntegratedBCInterface< T >::JvarMapIntegratedBCInterface | ( | const InputParameters & | parameters | ) | 
Definition at line 194 of file JvarMapInterface.h.
| 
 | overridevirtual | 
Definition at line 213 of file JvarMapInterface.h.
| 
 | inlineinherited | 
Obtain the map connecting libmesh variable ID number to its position in the _coupled_moose_vars vector.
Definition at line 80 of file JvarMapInterface.h.
| 
 | inherited | 
Make a specific map for a given parameter name representing a couple variable (vector)
Definition at line 168 of file JvarMapInterface.h.
| 
 | inherited | 
Return index into the _coupled_moose_vars array for a given jvar.
Definition at line 147 of file JvarMapInterface.h.
| 
 | inherited | 
Return an index into a specific coupled variable vector for a given jvar.
A negative return value indicates that the jvar value does not point to a variable in the couple variable vector corresponding to the mapped parameter.
Definition at line 159 of file JvarMapInterface.h.
| 
 | inherited | 
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 | 
| 
 | staticinherited | 
Definition at line 115 of file JvarMapInterface.h.
| 
 | protectedinherited | 
number of coupled moose variables
Definition at line 97 of file JvarMapInterface.h.
 1.8.14
 1.8.14