Operator tp collect data from elements on the side of Edge/Face.
More...
#include "tutorials/scl-11/src/PoissonDiscontinousGalerkin.hpp"
Operator tp collect data from elements on the side of Edge/Face.
Definition at line 38 of file PoissonDiscontinousGalerkin.hpp.
◆ OpCalculateSideData()
Poisson2DiscontGalerkinOperators::OpCalculateSideData::OpCalculateSideData |
( |
std::string |
field_name, |
|
|
std::string |
col_field_name |
|
) |
| |
|
inline |
Definition at line 40 of file PoissonDiscontinousGalerkin.hpp.
42
43 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE], false);
44
45 for (
auto t = moab::CN::TypeDimensionMap[
SPACE_DIM].first;
46 t <= moab::CN::TypeDimensionMap[
SPACE_DIM].second; ++
t)
48 }
constexpr double t
plate stiffness
FaceSideEle::UserDataOperator FaceSideOp
constexpr auto field_name
◆ doWork()
MoFEMErrorCode Poisson2DiscontGalerkinOperators::OpCalculateSideData::doWork |
( |
int |
row_side, |
|
|
int |
col_side, |
|
|
EntityType |
row_type, |
|
|
EntityType |
col_type, |
|
|
EntData & |
row_data, |
|
|
EntData & |
col_data |
|
) |
| |
|
inline |
- Examples
- PoissonDiscontinousGalerkin.hpp.
Definition at line 50 of file PoissonDiscontinousGalerkin.hpp.
52 {
54
55
56
57
58
59
60
61 if ((CN::Dimension(row_type) ==
SPACE_DIM) &&
63 const auto nb_in_loop = getFEMethod()->nInTheLoop;
70 areaMap[nb_in_loop] = getMeasure();
71 senseMap[nb_in_loop] = getSkeletonSense();
72 if (!nb_in_loop) {
81 }
82 } else {
84 }
85
87 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
@ MOFEM_DATA_INCONSISTENCY
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
std::array< MatrixDouble, 2 > rowBaseSideMap
std::array< VectorInt, 2 > indicesColSideMap
indices on columns for left hand-side
std::array< MatrixDouble, 2 > colDiffBaseSideMap
std::array< double, 2 > areaMap
std::array< MatrixDouble, 2 > colBaseSideMap
std::array< VectorInt, 2 > indicesRowSideMap
indices on rows for left hand-side
std::array< int, 2 > senseMap
std::array< MatrixDouble, 2 > rowDiffBaseSideMap
MatrixDouble & getDiffN(const FieldApproximationBase base)
get derivatives of base functions
MatrixDouble & getN(const FieldApproximationBase base)
get base functions this return matrix (nb. of rows is equal to nb. of Gauss pts, nb....
const VectorInt & getIndices() const
Get global indices of dofs on entity.
The documentation for this struct was generated from the following file: