v0.9.0
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]
Collaboration diagram for SurfaceSlidingConstrains::DriverElementOrientation:
[legend]

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.

Examples
mesh_smoothing.cpp.

Definition at line 343 of file SurfaceSlidingConstrains.hpp.

Member Function Documentation

◆ getElementOrientation()

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

Reimplemented in FractureMechanics::CrackPropagation::FaceOrientation.

Definition at line 348 of file SurfaceSlidingConstrains.hpp.

349  {
351  elementOrientation = 1;
353  }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:501
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:508

Member Data Documentation

◆ elementOrientation

int SurfaceSlidingConstrains::DriverElementOrientation::elementOrientation

Definition at line 345 of file SurfaceSlidingConstrains.hpp.


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