Public Member Functions | Public Attributes | List of all members
SurfaceSlidingConstrains::DriverElementOrientation Struct Reference

Class implemented by user to detect face orientation. More...

#include <users_modules/basic_finite_elements/src/SurfaceSlidingConstrains.hpp>

Inheritance diagram for SurfaceSlidingConstrains::DriverElementOrientation:

Public Member Functions

virtual MoFEMErrorCode getElementOrientation (MoFEM::Interface &m_field, const FEMethod *fe_method_ptr)

Public Attributes

int elementOrientation

Detailed Description

Class implemented by user to detect face orientation.

If mesh generated is with surface mesher, usually you don't have to do nothing, all elements on the surface have consistent orientation. In case of internal faces or if you do something with mesh connectivity which breaks orientation on the face, you have to implement method which will set orientation to face.


Definition at line 346 of file SurfaceSlidingConstrains.hpp.

Member Function Documentation

◆ getElementOrientation()

virtual MoFEMErrorCode SurfaceSlidingConstrains::DriverElementOrientation::getElementOrientation ( MoFEM::Interface m_field,
const FEMethod fe_method_ptr 

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 351 of file SurfaceSlidingConstrains.hpp.

352  {
354  elementOrientation = 1;
356  }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516

Member Data Documentation

◆ elementOrientation

int SurfaceSlidingConstrains::DriverElementOrientation::elementOrientation

Definition at line 348 of file SurfaceSlidingConstrains.hpp.

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