v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::AddHOOps< 1, 2, 2 > 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 > spaces, std::string geom_field_name="")
 

Detailed Description

Definition at line 435 of file HODataOperators.hpp.

Constructor & Destructor Documentation

◆ AddHOOps()

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

Member Function Documentation

◆ add()

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

Definition at line 907 of file HODataOperators.cpp.

909  {
911 
912  if (geom_field_name.empty()) {
913 
914  } else {
915 
916  pipeline.push_back(new OpCalculateHOCoords<2>(geom_field_name));
917  pipeline.push_back(new OpGetHOTangentsOnEdge<2>(geom_field_name));
918  }
919 
920  for (auto s : spaces) {
921  switch (s) {
922  case NOSPACE:
923  break;
924  case HCURL:
925  pipeline.push_back(new OpHOSetContravariantPiolaTransformOnEdge3D(HCURL));
926  break;
927  case HDIV:
928  pipeline.push_back(new OpSetContravariantPiolaTransformOnEdge2D());
929  break;
930  default:
931  SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
932  "Space %s not yet implemented", FieldSpaceNames[s]);
933  }
934  }
935 
937 }

The documentation for this struct was generated from the following files:
NOSPACE
@ NOSPACE
Definition: definitions.h:83
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