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 527 of file EntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ RefEntity_change_parent()

MoFEM::RefEntity_change_parent::RefEntity_change_parent ( EntityHandle  parent)

Definition at line 529 of file EntsMultiIndices.hpp.

529 : pArent(parent) {}

Member Function Documentation

◆ operator()()

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

Definition at line 530 of file EntsMultiIndices.hpp.

530  {
531  rval = e->getBasicDataPtr()->moab.tag_set_data(
532  e->getBasicDataPtr()->th_RefParentHandle, &e->ent, 1, &pArent);
533  MOAB_THROW(rval);
534  }
#define MOAB_THROW(a)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:608
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Exceptions.hpp:85

Member Data Documentation

◆ pArent

EntityHandle MoFEM::RefEntity_change_parent::pArent

Definition at line 528 of file EntsMultiIndices.hpp.

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