v0.13.2
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 503 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 762 of file HODataOperators.cpp.

764 {
766
767 if (geom_field_name.empty()) {
768 } else {
769
770 pipeline.push_back(new OpCalculateHOCoords<3>(geom_field_name));
771 pipeline.push_back(new OpGetHONormalsOnFace<3>(geom_field_name));
772 }
773
774 for (auto s : spaces) {
775 switch (s) {
776 case NOSPACE:
777 break;
778 case HCURL:
779 pipeline.push_back(new OpHOSetCovariantPiolaTransformOnFace3D(HCURL));
780 break;
781 case HDIV:
782 pipeline.push_back(new OpHOSetContravariantPiolaTransformOnFace3D(HDIV));
783 break;
784 default:
785 SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
786 "Space %s not yet implemented", FieldSpaceNames[s]);
787 break;
788 }
789 }
790
792}
@ 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: