Definition at line 772 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 776 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 837 of file EshelbianCohesive.cpp.
837 {
840 }
#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 784 of file EshelbianCohesive.cpp.
784 {
786
787 auto get_sense_index = [
this]() {
return (
faceSense == 1) ? 0 : 1; };
789
792 break;
796 break;
797 }
798
799 auto get_data = [&](
auto &
v) {
801
802 auto &moab = getMoab();
803 auto fe_ent = getFEEntityHandle();
804
805 int size;
806 double *data;
807 rval = moab.tag_get_by_ptr(
tagHandle, &fe_ent, 1, (
const void **)&data,
808 &size);
809 if (
810
811 rval == MB_SUCCESS && size > 0 && size !=
v.size()
812
813 ) {
815 "Inconsistent size of tag data");
816 } else {
818 int tag_size[1];
819 tag_size[0] =
v.size();
820 void const *tag_data[] = {&
v[0]};
822 } else {
824 (const void **)&data, &size);
825 std::copy(data, data + size,
v.begin());
826 }
827 }
828
830 };
831
833
835 }
@ 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: