Operator tp collect data from elements on the side of Edge/Face.
More...
Operator tp collect data from elements on the side of Edge/Face.
- Examples
- mofem/tutorials/vec-6_dg_kirchhoff_plate/plate.cpp.
Definition at line 109 of file plate.cpp.
◆ OpCalculateSideData()
| OpCalculateSideData::OpCalculateSideData |
( |
std::string |
field_name, |
|
|
std::string |
col_field_name |
|
) |
| |
◆ doWork()
- Examples
- mofem/tutorials/vec-6_dg_kirchhoff_plate/plate.cpp.
Definition at line 428 of file plate.cpp.
429 {
431
432 const auto nb_in_loop = getFEMethod()->nInTheLoop;
433
434 auto clear = [](auto nb) {
438 };
439
440 if (
type == MBVERTEX) {
441 areaMap[nb_in_loop] = getMeasure();
442 senseMap[nb_in_loop] = getSkeletonSense();
443 if (!nb_in_loop) {
444 clear(0);
445 clear(1);
448 }
449 }
450
451 const auto nb_dofs = data.
getIndices().size();
452 if (nb_dofs) {
455 data.
getN(BaseDerivatives::FirstDerivative));
457 data.
getN(BaseDerivatives::SecondDerivative));
458 }
459
461}
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
std::array< std::vector< MatrixDouble >, 2 > diff2BaseSideMap
std::array< std::vector< MatrixDouble >, 2 > diffBaseSideMap
std::array< double, 2 > areaMap
std::array< std::vector< VectorInt >, 2 > indicesSideMap
indices on rows for left hand-side
std::array< int, 2 > senseMap
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 degrees of freedom on entity.
The documentation for this struct was generated from the following file: