Public Member Functions | Public Attributes | List of all members
MoFEM::RefEntity_change_parent Struct Reference

change parentUse this function with care. Some other multi-indices can deponent on this. More...

#include <src/multi_indices/EntsMultiIndices.hpp>

Collaboration diagram for MoFEM::RefEntity_change_parent:

Public Member Functions

 RefEntity_change_parent (EntityHandle parent)
void operator() (boost::shared_ptr< RefEntity > &e)

Public Attributes

EntityHandle pArent

Detailed Description

change parent

Use this function with care. Some other multi-indices can deponent on this.

Known dependent multi-indices (verify if that list is full):

Definition at line 504 of file EntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ RefEntity_change_parent()

MoFEM::RefEntity_change_parent::RefEntity_change_parent ( EntityHandle  parent)

Definition at line 506 of file EntsMultiIndices.hpp.

506 : pArent(parent) {}

Member Function Documentation

◆ operator()()

void MoFEM::RefEntity_change_parent::operator() ( boost::shared_ptr< RefEntity > &  e)

Definition at line 507 of file EntsMultiIndices.hpp.

507  {
508  rval = e->getBasicDataPtr()->moab.tag_set_data(
509  e->getBasicDataPtr()->th_RefParentHandle, &e->ent, 1, &pArent);
510  MOAB_THROW(rval);
511  }
#define MOAB_THROW(a)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:623
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Common.hpp:78

Member Data Documentation

◆ pArent

EntityHandle MoFEM::RefEntity_change_parent::pArent

Definition at line 505 of file EntsMultiIndices.hpp.

The documentation for this struct was generated from the following file: