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

change parent More...

#include <src/multi_indices/RefEntsMultiIndices.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 812 of file RefEntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ RefEntity_change_parent()

MoFEM::RefEntity_change_parent::RefEntity_change_parent ( EntityHandle  parent)

Definition at line 814 of file RefEntsMultiIndices.hpp.

814 : pArent(parent) {}

Member Function Documentation

◆ operator()()

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

Definition at line 815 of file RefEntsMultiIndices.hpp.

815  {
816  rval = e->getBasicDataPtr()->moab.tag_set_data(
817  e->getBasicDataPtr()->th_RefParentHandle, &e->ent, 1, &pArent);
818  MOAB_THROW(rval);
819  }

Member Data Documentation

◆ pArent

EntityHandle MoFEM::RefEntity_change_parent::pArent

Definition at line 813 of file RefEntsMultiIndices.hpp.

The documentation for this struct was generated from the following file:
EntityHandle pArent
Definition: RefEntsMultiIndices.hpp:813
#define MOAB_THROW(err)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:554
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Exceptions.hpp:74