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 415 of file CohesiveInterfaceElement.hpp.
◆ OpCalculateGapLocal()
| CohesiveElement::CohesiveInterfaceElement::OpCalculateGapLocal::OpCalculateGapLocal |
( |
const std::string |
field_name, |
|
|
CommonData & |
common_data |
|
) |
| |
|
inline |
Definition at line 419 of file CohesiveInterfaceElement.hpp.
420 : FlatPrismElementForcesAndSourcesCore::UserDataOperator(
421 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 424 of file CohesiveInterfaceElement.hpp.
425 {
427 try {
428 if (
type == MBVERTEX) {
429 int nb_gauss_pts = data.getN().size1();
431 for (int gg = 0; gg < nb_gauss_pts; gg++) {
435 }
436 }
437 } catch (const std::exception &ex) {
438 std::ostringstream ss;
439 ss << "throw in method: " << ex.what() << std::endl;
441 ss.str().c_str());
442 }
444 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
@ MOFEM_STD_EXCEPTION_THROW
#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: