Definition at line 791 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 795 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 856 of file EshelbianCohesive.cpp.
856 {
859 }
#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 803 of file EshelbianCohesive.cpp.
803 {
805
806 auto get_sense_index = [
this]() {
return (
faceSense == 1) ? 0 : 1; };
808
811 break;
815 break;
816 }
817
818 auto get_data = [&](
auto &
v) {
820
821 auto &moab = getMoab();
822 auto fe_ent = getFEEntityHandle();
823
824 int size;
825 double *data;
826 rval = moab.tag_get_by_ptr(
tagHandle, &fe_ent, 1, (
const void **)&data,
827 &size);
828 if (
829
830 rval == MB_SUCCESS && size > 0 && size !=
v.size()
831
832 ) {
834 "Inconsistent size of tag data");
835 } else {
837 int tag_size[1];
838 tag_size[0] =
v.size();
839 void const *tag_data[] = {&
v[0]};
841 } else {
843 (const void **)&data, &size);
844 std::copy(data, data + size,
v.begin());
845 }
846 }
847
849 };
850
852
854 }
@ 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: