v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SimpleContactProblem::ConvectSlaveContactElement Struct Reference

Element used to integrate on master surfaces. It convects integration points on slaves, so that quantities like Lagrange multiplier from master are evaluated at correct points. More...

#include <users_modules/mortar_contact/src/SimpleContact.hpp>

Inheritance diagram for SimpleContactProblem::ConvectSlaveContactElement:
[legend]
Collaboration diagram for SimpleContactProblem::ConvectSlaveContactElement:
[legend]

Public Member Functions

int getRule (int order)
 
MoFEMErrorCode setGaussPts (int order)
 
 ConvectMasterContactElement (MoFEM::Interface &m_field, string spat_pos, string mat_pos, bool newton_cotes=false)
 
- Public Member Functions inherited from SimpleContactProblem::ConvectMasterContactElement
 ConvectMasterContactElement (MoFEM::Interface &m_field, string spat_pos, string mat_pos, bool newton_cotes=false)
 
boost::shared_ptr< ConvectSlaveIntegrationPtsgetConvectPtr ()
 
int getRule (int order)
 
MoFEMErrorCode setGaussPts (int order)
 
- Public Member Functions inherited from SimpleContactProblem::SimpleContactElement
 SimpleContactElement (MoFEM::Interface &m_field, bool newton_cotes=false)
 
MoFEMErrorCode preProcess ()
 
MoFEMErrorCode postProcess ()
 
int getRule (int order)
 
virtual MoFEMErrorCode setGaussPts (int order)
 

Additional Inherited Members

- Public Attributes inherited from SimpleContactProblem::SimpleContactElement
MoFEM::InterfacemField
 
bool newtonCotes
 
SmartPetscObj< Vec > contactStateVec
 
friend ConvectSlaveIntegrationPts
 
- Protected Attributes inherited from SimpleContactProblem::ConvectMasterContactElement
boost::shared_ptr< ConvectSlaveIntegrationPtsconvectPtr
 

Detailed Description

Element used to integrate on master surfaces. It convects integration points on slaves, so that quantities like Lagrange multiplier from master are evaluated at correct points.

Examples
mortar_contact_thermal.cpp, simple_contact.cpp, simple_contact_thermal.cpp, and test_jacobian_of_simple_contact_element.cpp.

Definition at line 206 of file SimpleContact.hpp.

Member Function Documentation

◆ ConvectMasterContactElement()

SimpleContactProblem::ConvectMasterContactElement::ConvectMasterContactElement ( MoFEM::Interface m_field,
string  spat_pos,
string  mat_pos,
bool  newton_cotes = false 
)
inline

Definition at line 183 of file SimpleContact.hpp.

185 : SimpleContactElement(m_field, newton_cotes),
186 convectPtr(new ConvectSlaveIntegrationPts(this, spat_pos, mat_pos)) {}
boost::shared_ptr< ConvectSlaveIntegrationPts > convectPtr
SimpleContactElement(MoFEM::Interface &m_field, bool newton_cotes=false)

◆ getRule()

int SimpleContactProblem::ConvectSlaveContactElement::getRule ( int  order)
inline

Definition at line 209 of file SimpleContact.hpp.

209{ return -1; }

◆ setGaussPts()

MoFEMErrorCode SimpleContactProblem::ConvectSlaveContactElement::setGaussPts ( int  order)
virtual

Reimplemented from SimpleContactProblem::ConvectMasterContactElement.

Definition at line 378 of file SimpleContact.cpp.

378 {
381 CHKERR convectPtr->convectSlaveIntegrationPts<false>();
383}
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535
virtual MoFEMErrorCode setGaussPts(int order)

The documentation for this struct was generated from the following files: