Moertel  Development
 All Classes Namespaces Files Functions Enumerations Friends Pages
List of all members
MOERTEL::Lmselector Class Referenceabstract

A virtual class that supports user activation of LMs. More...

#include <mrtr_lm_selector.H>

Public Member Functions

 Lmselector ()
 Constructor. More...
 
 Lmselector (const MOERTEL::Lmselector &old)
 Copy-Constructor. More...
 
virtual ~Lmselector ()
 Destructor.
 
virtual bool EvaluateLM (Teuchos::RCP< MOERTEL::Node > node, const int LMDof)=0
 Function that determines if the LMs should be active for this node and dof. More...
 
virtual void AccumulateRHS (Teuchos::RCP< MOERTEL::Node > node)=0
 Functions that accumulate values into the RHS depending on the state of the contact problem. More...
 
virtual void AssembleNodeVal (int row, int col, double val)=0
 Functions that accumulate values into the RHS depending on the state of the contact problem. More...
 

Detailed Description

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)

Constructor & Destructor Documentation

MOERTEL::Lmselector::Lmselector ( )
inline

Constructor.

Constructs an instance of this base class.

MOERTEL::Lmselector::Lmselector ( const MOERTEL::Lmselector old)
inline

Copy-Constructor.

Makes a deep copy

Parameters
old: Instance to be copied

Member Function Documentation

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: