Operator calculate gap in local coordinate system.
More...
#include "tutorials/cor-12_cohesive_interface/src/CohesiveInterfaceElement.hpp"
Operator calculate gap in local coordinate system.
Definition at line 412 of file CohesiveInterfaceElement.hpp.
◆ OpCalculateGapLocal()
| CohesiveElement::CohesiveInterfaceElement::OpCalculateGapLocal::OpCalculateGapLocal |
( |
const std::string |
field_name, |
|
|
CommonData & |
common_data |
|
) |
| |
|
inline |
Definition at line 416 of file CohesiveInterfaceElement.hpp.
417 : FlatPrismElementForcesAndSourcesCore::UserDataOperator(
418 field_name, ForcesAndSourcesCore::UserDataOperator::OPROW),
constexpr auto field_name
◆ doWork()
| MoFEMErrorCode CohesiveElement::CohesiveInterfaceElement::OpCalculateGapLocal::doWork |
( |
int |
side, |
|
|
EntityType |
type, |
|
|
EntitiesFieldData::EntData & |
data |
|
) |
| |
|
inline |
Definition at line 421 of file CohesiveInterfaceElement.hpp.
422 {
424 try {
425 if (
type == MBVERTEX) {
426 int nb_gauss_pts = data.getN().size1();
428 for (int gg = 0; gg < nb_gauss_pts; gg++) {
432 }
433 }
434 } catch (const std::exception &ex) {
435 std::ostringstream ss;
436 ss << "throw in method: " << ex.what() << std::endl;
437 SETERRQ(PETSC_COMM_SELF, 1, ss.str().c_str());
438 }
440 }
#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 ...
ublas::vector< MatrixDouble > R
◆ commonData
| CommonData& CohesiveElement::CohesiveInterfaceElement::OpCalculateGapLocal::commonData |
The documentation for this struct was generated from the following file: