Definition at line 823 of file EshelbianCohesive.cpp.
◆ OP
◆ OpGetTag()
| EshelbianPlasticity::OpGetTag::OpGetTag |
( |
boost::shared_ptr< std::vector< BrokenBaseSideData > > |
broken_base_side_data, |
|
|
Tag |
tag, |
|
|
TagGetType |
tag_get_type, |
|
|
boost::shared_ptr< VectorDouble > |
tag_data_ptr, |
|
|
boost::shared_ptr< Range > |
ents_ptr = nullptr |
|
) |
| |
|
inline |
Definition at line 827 of file EshelbianCohesive.cpp.
OpBrokenBaseCohesive(boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_flux_data_ptr, boost::shared_ptr< Range > ents_ptr=nullptr)
boost::shared_ptr< VectorDouble > tagDataPtr
◆ aSsemble()
Definition at line 888 of file EshelbianCohesive.cpp.
888 {
891 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
◆ iNtegrate()
Definition at line 835 of file EshelbianCohesive.cpp.
835 {
837
838 auto get_sense_index = [
this]() {
return (
faceSense == 1) ? 0 : 1; };
840
843 break;
847 break;
848 }
849
850 auto get_data = [&](
auto &
v) {
852
853 auto &moab = getMoab();
854 auto fe_ent = getFEEntityHandle();
855
856 int size;
857 double *data;
858 rval = moab.tag_get_by_ptr(
tagHandle, &fe_ent, 1, (
const void **)&data,
859 &size);
860 if (
861
862 rval == MB_SUCCESS && size > 0 && size !=
v.size()
863
864 ) {
866 "Inconsistent size of tag data");
867 } else {
869 int tag_size[1];
870 tag_size[0] =
v.size();
871 void const *tag_data[] = {&
v[0]};
873 } else {
875 (const void **)&data, &size);
876 std::copy(data, data + size,
v.begin());
877 }
878 }
879
881 };
882
884
886 }
@ MOFEM_DATA_INCONSISTENCY
#define CHKERR
Inline error check.
const double v
phase velocity of light in medium (cm/ns)
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
◆ tagDataPtr
| boost::shared_ptr<VectorDouble> EshelbianPlasticity::OpGetTag::tagDataPtr |
|
private |
◆ tagGetType
| TagGetType EshelbianPlasticity::OpGetTag::tagGetType |
|
private |
◆ tagHandle
| Tag EshelbianPlasticity::OpGetTag::tagHandle |
|
private |
The documentation for this struct was generated from the following file: