v0.15.0
Loading...
Searching...
No Matches
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 439 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 887 of file HODataOperators.cpp.

889 {
891
892 if (geom_field_name.empty()) {
893
894 } else {
895
896 pipeline.push_back(new OpCalculateHOCoords<2>(geom_field_name));
897 pipeline.push_back(new OpGetHOTangentsOnEdge<2>(geom_field_name));
898 }
899
900 for (auto s : spaces) {
901 switch (s) {
902 case NOSPACE:
903 break;
904 case HCURL:
905 pipeline.push_back(new OpHOSetContravariantPiolaTransformOnEdge3D(HCURL));
906 break;
907 case HDIV:
908 pipeline.push_back(new OpSetContravariantPiolaTransformOnEdge2D());
909 break;
910 default:
911 SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
912 "Space %s not yet implemented", FieldSpaceNames[s]);
913 }
914 }
915
917}
@ 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 ...
@ MOFEM_NOT_IMPLEMENTED
Definition definitions.h:32
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()

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