template<typename ELE_OP, typename PARENT_ELE>
struct OpCheckGaussCoords< ELE_OP, PARENT_ELE >
- Examples
- child_and_parent.cpp.
Definition at line 137 of file child_and_parent.cpp.
◆ OpCheckGaussCoords()
template<typename ELE_OP , typename PARENT_ELE >
◆ doWork()
template<typename ELE_OP , typename PARENT_ELE >
Definition at line 140 of file child_and_parent.cpp.
146 PARENT_ELE parent_fe(this->getPtrFE()->mField);
154 <<
"parent_coords in op "
155 <<
static_cast<ELE_OP *
>(op_ptr)->getCoordsAtGaussPts();
157 parent_coords =
static_cast<ELE_OP *
>(op_ptr)->getCoordsAtGaussPts();
160 parent_fe.getOpPtrVector().push_back(op);
162 MOFEM_LOG(
"SELF", Sev::noisy) <<
"fe name " << this->getFEName();
163 CHKERR this->loopParent(this->getFEName(), &parent_fe);
164 MOFEM_LOG(
"SELF", Sev::noisy) <<
"parent_coords " << parent_coords;
166 MatrixDouble child_coords = this->getCoordsAtGaussPts();
167 MOFEM_LOG(
"SELF", Sev::noisy) <<
"child_coords " << child_coords;
169 child_coords -= parent_coords;
171 MOFEM_LOG(
"SELF", Sev::noisy) <<
"Corrds diffs" << child_coords;
174 for (
auto d : child_coords.data())
179 "Parent and child global coords at integration points are "
180 "diffrent norm = %3.2e",
The documentation for this struct was generated from the following file: