v0.8.23
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:
[legend]

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

Constructor & Destructor Documentation

◆ RefEntity_change_parent()

MoFEM::RefEntity_change_parent::RefEntity_change_parent ( EntityHandle  parent)

Definition at line 527 of file EntsMultiIndices.hpp.

527 : pArent(parent) {}

Member Function Documentation

◆ operator()()

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

Definition at line 528 of file EntsMultiIndices.hpp.

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

Member Data Documentation

◆ pArent

EntityHandle MoFEM::RefEntity_change_parent::pArent

Definition at line 526 of file EntsMultiIndices.hpp.


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