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

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

#include <tools/src/SurfaceSlidingConstrains.hpp>

Inheritance diagram for SurfaceSlidingConstrains::DriverElementOrientation:
[legend]
Collaboration 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)
 
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/4]

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

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 345 of file SurfaceSlidingConstrains.hpp.

346  {
348  elementOrientation = 1;
350  }

◆ getElementOrientation() [2/4]

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

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 345 of file SurfaceSlidingConstrains.hpp.

346  {
348  elementOrientation = 1;
350  }

◆ getElementOrientation() [3/4]

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

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 339 of file SurfaceSlidingConstrains.hpp.

340  {
342  elementOrientation = 1;
344  }

◆ getElementOrientation() [4/4]

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

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 339 of file SurfaceSlidingConstrains.hpp.

340  {
342  elementOrientation = 1;
344  }

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:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:460
MoFEMFunctionBeginHot
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:453
SurfaceSlidingConstrains::DriverElementOrientation::elementOrientation
int elementOrientation
Definition: SurfaceSlidingConstrains.hpp:336