v0.15.0
Loading...
Searching...
No Matches
MoFEM::RefEntity_change_parent Struct Reference

change parent More...

#include "src/multi_indices/RefEntsMultiIndices.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):

  • RefEntity_multiIndex
  • RefElement_multiIndex

Definition at line 812 of file RefEntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ RefEntity_change_parent()

MoFEM::RefEntity_change_parent::RefEntity_change_parent ( EntityHandle parent)
inline

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)
inline

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);
819 }
#define MOAB_THROW(err)
Check error code of MoAB function and throw MoFEM exception.
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval

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: