v0.14.0
Public Member Functions | List of all members
MortarContactProblem::MortarConvectSlaveContactElement 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/MortarContactProblem.hpp>

Inheritance diagram for MortarContactProblem::MortarConvectSlaveContactElement:
[legend]
Collaboration diagram for MortarContactProblem::MortarConvectSlaveContactElement:
[legend]

Public Member Functions

int getRule (int order)
 
MoFEMErrorCode setGaussPts (int order)
 
 MortarConvectMasterContactElement (MoFEM::Interface &m_field, boost::shared_ptr< ContactSearchKdTree::ContactCommonData_multiIndex > contact_commondata_multi_index, std::string spat_pos, std::string mat_pos, bool newton_cotes=false)
 
- Public Member Functions inherited from MortarContactProblem::MortarConvectMasterContactElement
 MortarConvectMasterContactElement (MoFEM::Interface &m_field, boost::shared_ptr< ContactSearchKdTree::ContactCommonData_multiIndex > contact_commondata_multi_index, std::string spat_pos, std::string mat_pos, bool newton_cotes=false)
 
boost::shared_ptr< ConvectSlaveIntegrationPtsgetConvectPtr ()
 
int getRule (int order)
 
- Public Member Functions inherited from MortarContactProblem::MortarContactElement
 MortarContactElement (MoFEM::Interface &m_field, boost::shared_ptr< ContactSearchKdTree::ContactCommonData_multiIndex > contact_commondata_multi_index, std::string spat_pos, std::string mat_pos, bool newton_cotes=false)
 
int getRule (int order)
 
double area2D (double *a, double *b, double *c)
 
 ~MortarContactElement ()
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from MortarContactProblem::MortarContactElement
MoFEM::InterfacemField
 
boost::shared_ptr< ContactSearchKdTree::ContactCommonData_multiIndexcontactCommondataMultiIndex
 
bool newtonCotes
 
- Public Attributes inherited from SimpleContactProblem::SimpleContactElement
MoFEM::InterfacemField
 
bool newtonCotes
 
SmartPetscObj< Vec > contactStateVec
 
friend ConvectSlaveIntegrationPts
 
- Protected Attributes inherited from MortarContactProblem::MortarConvectMasterContactElement
boost::shared_ptr< ConvectSlaveIntegrationPtsconvectPtr
 
- 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.

Definition at line 311 of file MortarContactProblem.hpp.

Member Function Documentation

◆ getRule()

int MortarContactProblem::MortarConvectSlaveContactElement::getRule ( int  order)
inline

Definition at line 315 of file MortarContactProblem.hpp.

315 { return -1; }

◆ MortarConvectMasterContactElement()

MortarContactProblem::MortarConvectMasterContactElement::MortarConvectMasterContactElement
inline

Definition at line 284 of file MortarContactProblem.hpp.

289  : MortarContactElement(m_field, contact_commondata_multi_index,
290  spat_pos, mat_pos, newton_cotes),
291  convectPtr(new ConvectSlaveIntegrationPts(this, spat_pos, mat_pos)) {}

◆ setGaussPts()

MoFEMErrorCode MortarContactProblem::MortarConvectSlaveContactElement::setGaussPts ( int  order)
virtual

Reimplemented from MortarContactProblem::MortarConvectMasterContactElement.

Definition at line 333 of file MortarContactProblem.cpp.

333  {
336  CHKERR convectPtr->convectSlaveIntegrationPts<false>();
338 }

The documentation for this struct was generated from the following files:
SimpleContactProblem::SimpleContactElement::ConvectSlaveIntegrationPts
friend ConvectSlaveIntegrationPts
Definition: SimpleContact.hpp:128
MortarContactProblem::MortarContactElement::MortarContactElement
MortarContactElement(MoFEM::Interface &m_field, boost::shared_ptr< ContactSearchKdTree::ContactCommonData_multiIndex > contact_commondata_multi_index, std::string spat_pos, std::string mat_pos, bool newton_cotes=false)
Definition: MortarContactProblem.hpp:36
order
constexpr int order
Definition: dg_projection.cpp:18
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:535
MortarContactProblem::MortarContactElement::setGaussPts
virtual MoFEMErrorCode setGaussPts(int order)
Definition: MortarContactProblem.cpp:16
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
MortarContactProblem::MortarConvectMasterContactElement::convectPtr
boost::shared_ptr< ConvectSlaveIntegrationPts > convectPtr
Definition: MortarContactProblem.hpp:302