v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::AddHOOps< 2, 3, 3 > Struct Reference

#include <src/finite_elements/HODataOperators.hpp>

Public Member Functions

 AddHOOps ()=delete
 

Static Public Member Functions

static MoFEMErrorCode add (boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, std::vector< FieldSpace > space, std::string geom_field_name="")
 

Detailed Description

Definition at line 448 of file HODataOperators.hpp.

Constructor & Destructor Documentation

◆ AddHOOps()

MoFEM::AddHOOps< 2, 3, 3 >::AddHOOps ( )
delete

Member Function Documentation

◆ add()

MoFEMErrorCode MoFEM::AddHOOps< 2, 3, 3 >::add ( boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &  pipeline,
std::vector< FieldSpace space,
std::string  geom_field_name = "" 
)
static

Definition at line 966 of file HODataOperators.cpp.

968  {
970 
971  if (geom_field_name.empty()) {
972  } else {
973 
974  pipeline.push_back(new OpCalculateHOCoords<3>(geom_field_name));
975  pipeline.push_back(new OpGetHONormalsOnFace<3>(geom_field_name));
976  }
977 
978  for (auto s : spaces) {
979  switch (s) {
980  case NOSPACE:
981  break;
982  case HCURL:
983  pipeline.push_back(new OpHOSetCovariantPiolaTransformOnFace3D(HCURL));
984  break;
985  case HDIV:
986  pipeline.push_back(new OpHOSetContravariantPiolaTransformOnFace3D(HDIV));
987  break;
988  case L2:
989  break;
990  default:
991  SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
992  "Space %s not yet implemented", FieldSpaceNames[s]);
993  break;
994  }
995  }
996 
998 }

The documentation for this struct was generated from the following files:
NOSPACE
@ NOSPACE
Definition: definitions.h:83
L2
@ L2
field with C-1 continuity
Definition: definitions.h:88
FieldSpaceNames
const static char *const FieldSpaceNames[]
Definition: definitions.h:92
HCURL
@ HCURL
field with continuous tangents
Definition: definitions.h:86
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
HDIV
@ HDIV
field with continuous normal traction
Definition: definitions.h:87
MOFEM_NOT_IMPLEMENTED
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359