v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MoFEM::TempMeshset Struct Reference

#include <include/Templates.hpp>

Collaboration diagram for MoFEM::TempMeshset:
[legend]

Public Member Functions

 TempMeshset (moab::Interface &moab)
 
virtual ~TempMeshset ()
 
 operator EntityHandle () const
 
auto get_ptr ()
 

Private Member Functions

void delete_meshset ()
 

Private Attributes

EntityHandle meshset
 
moab::Interface & moab
 

Detailed Description

Definition at line 1835 of file Templates.hpp.

Constructor & Destructor Documentation

◆ TempMeshset()

MoFEM::TempMeshset::TempMeshset ( moab::Interface &  moab)
inline

Definition at line 1836 of file Templates.hpp.

1836 : moab(moab) {
1837 rval = moab.create_meshset(MESHSET_SET, meshset);
1839 }
#define MOAB_THROW(err)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:541
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Exceptions.hpp:74
EntityHandle meshset
Definition: Templates.hpp:1849
moab::Interface & moab
Definition: Templates.hpp:1850

◆ ~TempMeshset()

virtual MoFEM::TempMeshset::~TempMeshset ( )
inlinevirtual

Definition at line 1840 of file Templates.hpp.

1840{ delete_meshset(); }

Member Function Documentation

◆ delete_meshset()

void MoFEM::TempMeshset::delete_meshset ( )
inlineprivate

Definition at line 1845 of file Templates.hpp.

1845 {
1846 rval = moab.delete_entities(&meshset, 1);
1848 }

◆ get_ptr()

auto MoFEM::TempMeshset::get_ptr ( )
inline

Definition at line 1842 of file Templates.hpp.

1842{ return &meshset; }

◆ operator EntityHandle()

MoFEM::TempMeshset::operator EntityHandle ( ) const
inline

Definition at line 1841 of file Templates.hpp.

1841{ return meshset; }

Member Data Documentation

◆ meshset

EntityHandle MoFEM::TempMeshset::meshset
private

Definition at line 1849 of file Templates.hpp.

◆ moab

moab::Interface& MoFEM::TempMeshset::moab
private

Definition at line 1850 of file Templates.hpp.


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