Operator calculate gap in local coordinate system.
More...
#include "users_modules/basic_finite_elements/cohesive_interface/src/CohesiveInterfaceElement.hpp"
Operator calculate gap in local coordinate system.
Definition at line 400 of file CohesiveInterfaceElement.hpp.
◆ OpCalculateGapLocal()
CohesiveElement::CohesiveInterfaceElement::OpCalculateGapLocal::OpCalculateGapLocal |
( |
const std::string | field_name, |
|
|
CommonData & | common_data ) |
|
inline |
Definition at line 403 of file CohesiveInterfaceElement.hpp.
403 :
404 FlatPrismElementForcesAndSourcesCore::UserDataOperator(
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 407 of file CohesiveInterfaceElement.hpp.
407 {
409 try {
410 if(type == MBVERTEX) {
411 int nb_gauss_pts = data.getN().size1();
413 for(int gg = 0;gg<nb_gauss_pts;gg++) {
417 }
418 }
419 } catch (const std::exception& ex) {
420 std::ostringstream ss;
421 ss << "throw in method: " << ex.what() << std::endl;
422 SETERRQ(PETSC_COMM_SELF,1,ss.str().c_str());
423 }
425 }
#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: