v0.14.0
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)
 
- Public Member Functions inherited from SimpleContactProblem::SimpleContactElement
 SimpleContactElement (MoFEM::Interface &m_field, bool newton_cotes=false)
 
MoFEMErrorCode preProcess ()
 
MoFEMErrorCode postProcess ()
 
int getRule (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
inline

Definition at line 183 of file SimpleContact.hpp.

185  : SimpleContactElement(m_field, newton_cotes),
186  convectPtr(new ConvectSlaveIntegrationPts(this, spat_pos, mat_pos)) {}

◆ 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 }

The documentation for this struct was generated from the following files:
SimpleContactProblem::SimpleContactElement::ConvectSlaveIntegrationPts
friend ConvectSlaveIntegrationPts
Definition: SimpleContact.hpp:128
SimpleContactProblem::SimpleContactElement::SimpleContactElement
SimpleContactElement(MoFEM::Interface &m_field, bool newton_cotes=false)
Definition: SimpleContact.hpp:82
order
constexpr int order
Definition: dg_projection.cpp:18
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:535
SimpleContactProblem::ConvectMasterContactElement::convectPtr
boost::shared_ptr< ConvectSlaveIntegrationPts > convectPtr
Definition: SimpleContact.hpp:197
SimpleContactProblem::SimpleContactElement::setGaussPts
virtual MoFEMErrorCode setGaussPts(int order)
Definition: SimpleContact.cpp:29
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346