![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include <FBiGeom_MOAB.hpp>
Public Member Functions | |
MBiGeom () | |
MBiGeom (MBiMesh *mbi, moab::FBEngine *fbe) | |
~MBiGeom () | |
moab::Interface * | moabItf () |
moab::FBEngine * | FBItf () |
MBiMesh * | mbimesh () |
Private Attributes | |
MBiMesh * | _mbimesh |
moab::FBEngine * | _fbe |
bool | _mbimeshCreated |
bool | _fbeCreated |
Definition at line 20 of file FBiGeom_MOAB.hpp.
MBiGeom::MBiGeom | ( | ) | [inline] |
Definition at line 27 of file FBiGeom_MOAB.hpp.
References _fbe, _fbeCreated, _mbimesh, _mbimeshCreated, and MBiMesh::mbImpl.
{
// this will instance a moab Core, too
_mbimesh = new MBiMesh( NULL );
moab::Interface* mbi = _mbimesh->mbImpl;
// pass mbi, so they will point to the same implementation
_fbe = new FBEngine( mbi );
_mbimeshCreated = _fbeCreated = true;
}
MBiGeom::MBiGeom | ( | MBiMesh * | mbi, |
moab::FBEngine * | fbe | ||
) | [inline] |
Definition at line 36 of file FBiGeom_MOAB.hpp.
References _fbe, _fbeCreated, _mbimesh, and _mbimeshCreated.
{
_mbimesh = mbi;
_fbe = fbe;
_mbimeshCreated = _fbeCreated = false;
}
MBiGeom::~MBiGeom | ( | ) | [inline] |
Definition at line 42 of file FBiGeom_MOAB.hpp.
References _fbe, _fbeCreated, _mbimesh, and _mbimeshCreated.
{
// some cleanup here
if( _fbeCreated ) delete _fbe;
if( _mbimeshCreated ) delete _mbimesh;
}
moab::FBEngine* MBiGeom::FBItf | ( | ) | [inline] |
MBiMesh* MBiGeom::mbimesh | ( | ) | [inline] |
moab::Interface* MBiGeom::moabItf | ( | ) | [inline] |
Definition at line 48 of file FBiGeom_MOAB.hpp.
References _mbimesh, and MBiMesh::mbImpl.
{
return _mbimesh->mbImpl;
}
moab::FBEngine* MBiGeom::_fbe [private] |
Definition at line 23 of file FBiGeom_MOAB.hpp.
Referenced by FBItf(), MBiGeom(), and ~MBiGeom().
bool MBiGeom::_fbeCreated [private] |
Definition at line 24 of file FBiGeom_MOAB.hpp.
Referenced by MBiGeom(), and ~MBiGeom().
MBiMesh* MBiGeom::_mbimesh [private] |
Definition at line 22 of file FBiGeom_MOAB.hpp.
Referenced by MBiGeom(), mbimesh(), moabItf(), and ~MBiGeom().
bool MBiGeom::_mbimeshCreated [private] |
Definition at line 24 of file FBiGeom_MOAB.hpp.
Referenced by MBiGeom(), and ~MBiGeom().