A virtual class that supports user activation of LMs.
More...
#include <mrtr_lm_selector.H>
A virtual class that supports user activation of LMs.
A virtual class that supports user activation of LMs
- Date
- Last update do Doxygen: 6-Aug-10
- Author
- Glen Hansen (gahan.nosp@m.se@s.nosp@m.andia.nosp@m..gov)
MOERTEL::Lmselector::Lmselector |
( |
| ) |
|
|
inline |
Constructor.
Constructs an instance of this base class.
Copy-Constructor.
Makes a deep copy
- Parameters
-
old | : Instance to be copied |
virtual void MOERTEL::Lmselector::AccumulateRHS |
( |
Teuchos::RCP< MOERTEL::Node > |
node | ) |
|
|
pure virtual |
Functions that accumulate values into the RHS depending on the state of the contact problem.
- Parameters
-
node | (in) : the slave node of interest |
rhs | (out) : the JFNK residual vector |
soln | (in) : the current state vector |
Note that this class can (and should) be used to accumulate particular values of the LM into rhs using soln. This function is called for the slave interface nodes (that host the LMs).
virtual void MOERTEL::Lmselector::AssembleNodeVal |
( |
int |
row, |
|
|
int |
col, |
|
|
double |
val |
|
) |
| |
|
pure virtual |
Functions that accumulate values into the RHS depending on the state of the contact problem.
- Parameters
-
row | (in) : Row number of the D (or M) matrix to assemble |
col | (in) : Column number of the D (or M) matrix to assemble |
val | (in) : value of D (or M) to assemble |
This function is used to accumulate values of D and M into the JFNK rhs using soln.
virtual bool MOERTEL::Lmselector::EvaluateLM |
( |
Teuchos::RCP< MOERTEL::Node > |
node, |
|
|
const int |
LMDof |
|
) |
| |
|
pure virtual |
Function that determines if the LMs should be active for this node and dof.
- Parameters
-
node | (in) : the node hosting the LM |
LMDof | (in) : the DOF of the LM in question |
- Returns
- bool : true if the M and D values of this node should be accumulated into the rhs, false if not.
The documentation for this class was generated from the following file: