v0.14.0
Loading...
Searching...
No Matches
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 538 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 864 of file HODataOperators.cpp.

866 {
868
869 if (geom_field_name.empty()) {
870 } else {
871
872 pipeline.push_back(new OpCalculateHOCoords<3>(geom_field_name));
873 pipeline.push_back(new OpGetHONormalsOnFace<3>(geom_field_name));
874 }
875
876 for (auto s : spaces) {
877 switch (s) {
878 case NOSPACE:
879 break;
880 case HCURL:
881 pipeline.push_back(new OpHOSetCovariantPiolaTransformOnFace3D(HCURL));
882 break;
883 case HDIV:
884 pipeline.push_back(new OpHOSetContravariantPiolaTransformOnFace3D(HDIV));
885 break;
886 default:
887 SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
888 "Space %s not yet implemented", FieldSpaceNames[s]);
889 break;
890 }
891 }
892
894}
@ NOSPACE
Definition: definitions.h:83
@ HCURL
field with continuous tangents
Definition: definitions.h:86
@ HDIV
field with continuous normal traction
Definition: definitions.h:87
static const char *const FieldSpaceNames[]
Definition: definitions.h:92
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416

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