v0.14.0
Public Member Functions | List of all members
NeumannForcesSurface::MethodForAnalyticalForce Struct Reference

Analytical force method. More...

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

Inheritance diagram for NeumannForcesSurface::MethodForAnalyticalForce:
[legend]

Public Member Functions

virtual ~MethodForAnalyticalForce ()=default
 
virtual MoFEMErrorCode getForce (const EntityHandle ent, const VectorDouble3 &coords, const VectorDouble3 &normal, VectorDouble3 &force)
 

Detailed Description

Analytical force method.

Definition at line 21 of file SurfacePressure.hpp.

Constructor & Destructor Documentation

◆ ~MethodForAnalyticalForce()

virtual NeumannForcesSurface::MethodForAnalyticalForce::~MethodForAnalyticalForce ( )
virtualdefault

Member Function Documentation

◆ getForce()

virtual MoFEMErrorCode NeumannForcesSurface::MethodForAnalyticalForce::getForce ( const EntityHandle  ent,
const VectorDouble3 &  coords,
const VectorDouble3 &  normal,
VectorDouble3 &  force 
)
inlinevirtual

User implemented analytical force

Parameters
coordscoordinates of integration point
normalnormal at integration point
forcereturned force
Returns
error code

Reimplemented in FractureMechanics::AnalyticalForces, and NeumannForcesSurface::LinearVaringPresssure.

Definition at line 32 of file SurfacePressure.hpp.

35  {
37  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
38  "You need to implement this");
40  }

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
MOFEM_NOT_IMPLEMENTED
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32