No Matches
Public Member Functions | Protected Attributes | List of all members
SimpleContactProblem::ConvectMasterContactElement Struct Reference

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

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

Inheritance diagram for SimpleContactProblem::ConvectMasterContactElement:
Collaboration diagram for SimpleContactProblem::ConvectMasterContactElement:

Public Member Functions

 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)

Protected Attributes

boost::shared_ptr< ConvectSlaveIntegrationPtsconvectPtr

Additional Inherited Members

- Public Attributes inherited from SimpleContactProblem::SimpleContactElement
bool newtonCotes
SmartPetscObj< Vec > contactStateVec
friend ConvectSlaveIntegrationPts

Detailed Description

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

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

Definition at line 181 of file SimpleContact.hpp.

Constructor & Destructor Documentation

◆ ConvectMasterContactElement()

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

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)

Member Function Documentation

◆ getConvectPtr()

boost::shared_ptr< ConvectSlaveIntegrationPts > SimpleContactProblem::ConvectMasterContactElement::getConvectPtr ( )

Definition at line 188 of file SimpleContact.hpp.

188 {
189 return convectPtr;
190 }

◆ getRule()

int SimpleContactProblem::ConvectMasterContactElement::getRule ( int  order)

Definition at line 192 of file SimpleContact.hpp.

192{ return -1; }

◆ setGaussPts()

MoFEMErrorCode SimpleContactProblem::ConvectMasterContactElement::setGaussPts ( int  order)

Reimplemented from SimpleContactProblem::SimpleContactElement.

Reimplemented in SimpleContactProblem::ConvectSlaveContactElement.

Definition at line 370 of file SimpleContact.cpp.

370 {
373 CHKERR convectPtr->convectSlaveIntegrationPts<true>();
#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
constexpr int order
virtual MoFEMErrorCode setGaussPts(int order)

Member Data Documentation

◆ convectPtr

boost::shared_ptr<ConvectSlaveIntegrationPts> SimpleContactProblem::ConvectMasterContactElement::convectPtr

Definition at line 197 of file SimpleContact.hpp.

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