v0.13.1
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:
[legend]

Public Member Functions

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

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.

Examples
mesh_smoothing.cpp.

Definition at line 334 of file SurfaceSlidingConstrains.hpp.

Member Function Documentation

◆ getElementOrientation() [1/2]

virtual MoFEMErrorCode SurfaceSlidingConstrains::DriverElementOrientation::getElementOrientation ( MoFEM::Interface m_field,
const EntityHandle  face 
)
virtual

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 345 of file SurfaceSlidingConstrains.hpp.

346 {
350 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440

◆ getElementOrientation() [2/2]

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

Member Data Documentation

◆ elementOrientation

int SurfaceSlidingConstrains::DriverElementOrientation::elementOrientation

Definition at line 336 of file SurfaceSlidingConstrains.hpp.


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