AFEPack
公有类型 | 公有成员 | 私有成员 | 私有属性
MPI::MemoryReclaimer< HFOREST >模板类参考

#include <MPI_MemoryReclaimer.h>

继承图,类MPI::MemoryReclaimer< HFOREST >
MemoryReclaimer< HFOREST::dim, HFOREST::dow >

所有成员的列表。

公有类型

enum  { dim = HFOREST::dim, dow = HFOREST::dow }
enum  { dim = HFOREST::dim, dow = HFOREST::dow }
typedef HFOREST forest_t
typedef ::MemoryReclaimer< dim,
dow > 
base_t
typedef FOREST tree_t
typedef BirdView< tree_tir_mesh_t

公有成员

 MemoryReclaimer ()
 MemoryReclaimer (forest_t &tree)
virtual ~MemoryReclaimer ()
 MemoryReclaimer ()
 MemoryReclaimer (tree_t &_h_tree)
virtual ~MemoryReclaimer ()
void setGeometryTree (tree_t &_h_tree)
void addIrregularMesh (ir_mesh_t &_ir_mesh)
void clear ()
void reclaim ()

私有成员

template<int D>
void reclaimHGeometry (HGeometry< D, dow > *p_geo) const
virtual void reclaimHGeometry (void *p_geo, int D) const
void reclaimIrregularMesh (ir_mesh_t &m)
void initialTreeLabel ()
void labelIrregularMesh (ir_mesh_t &m)
void reclaimTreeMemory ()
template<class GEO >
bool is_shared_geometry (const GEO &g) const
template<int D>
void labelHGeometry (HGeometry< D, dow > &g, int lab) const
template<int D>
void labelHGeometryRecursively (HGeometry< D, dow > &g, int lab) const
template<int D>
int relabelHGeometryRecursively (HGeometry< D, dow > &g) const
template<int D>
int reclaimHGeometryRecursively (HGeometry< D, dow > &g) const
template<int D>
void reclaimHGeometry (HGeometry< D, dow > *p_geo) const

私有属性

tree_th_tree
std::list< ir_mesh_t * > ir_mesh

template<class HFOREST>
class MPI::MemoryReclaimer< HFOREST >


成员类型定义文档

template<class HFOREST >
typedef ::MemoryReclaimer<dim,dow> MPI::MemoryReclaimer< HFOREST >::base_t
template<class HFOREST >
typedef HFOREST MPI::MemoryReclaimer< HFOREST >::forest_t
template<class HFOREST >
typedef BirdView<tree_t> MPI::MemoryReclaimer< HFOREST >::ir_mesh_t
template<class HFOREST >
typedef FOREST MPI::MemoryReclaimer< HFOREST >::tree_t

成员枚举类型文档

template<class HFOREST >
anonymous enum
枚举值:
dim 
dow 
template<class HFOREST >
anonymous enum
枚举值:
dim 
dow 

构造及析构函数文档

template<class HFOREST >
MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer ( ) [inline]
template<class HFOREST >
MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer ( forest_t tree) [inline]
template<class HFOREST >
virtual MPI::MemoryReclaimer< HFOREST >::~MemoryReclaimer ( ) [inline, virtual]
template<class HFOREST >
MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer ( ) [inline]
template<class HFOREST >
MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer ( tree_t _h_tree) [inline]
template<class HFOREST >
virtual MPI::MemoryReclaimer< HFOREST >::~MemoryReclaimer ( ) [inline, virtual]

成员函数文档

template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::addIrregularMesh ( ir_mesh_t _ir_mesh) [inline]

ӽһμӲIrregularMesh

template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::clear ( ) [inline]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::initialTreeLabel ( ) [inline, private]
template<class HFOREST >
template<class GEO >
bool MPI::MemoryReclaimer< HFOREST >::is_shared_geometry ( const GEO &  g) const [inline, private]
template<class HFOREST >
template<int D>
void MPI::MemoryReclaimer< HFOREST >::labelHGeometry ( HGeometry< D, dow > &  g,
int  lab 
) const [inline, private]
template<class HFOREST >
template<int D>
void MPI::MemoryReclaimer< HFOREST >::labelHGeometryRecursively ( HGeometry< D, dow > &  g,
int  lab 
) const [inline, private]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::labelIrregularMesh ( ir_mesh_t m) [inline, private]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::reclaim ( ) [inline]

HGeometryTreeмм໥Ϊһdzӵṹ Ϊ˻ڴ棬ʹIJʵ֣

1. ÿIrregularMeshвõڴлաǷdz򵥵ģ ΪֻҪÿҶӽڵͨͨɾ͹ˣʵں reclaimIrregularMeshС

2. HGeometryTreeемʹindex=-1ʶ initialTreeLabelнС

3. еIrregularMeshĵԪõļ嶼±ʶΪ1 labelIrregularMesh

4. HGeometryTreeеļбһıʶΪ-1 üӦñɾһαʱǾͽ ʶ޸Ϊ-2-1ʾǵһʶΪ1ô ڱijIrregularMeshʹãDzʲôһ ʶΪ-2ôѾٵڶαˣô ϶ϵǸָΪ NULL HGeometryTreeԭǸ״ṹݣǸҪɾ IJ֣ѾΪ״ṹ

5. HGeometryTreeеļбһıʶΪ-2 Ǿͽɾ45 reclaimTreeMemory ʵֵģ

ȶԸIrregularMeshIJʹڴл

־Ϊ -1

ʹеʶΪ 1

ڴл

重载MemoryReclaimer< HFOREST::dim, HFOREST::dow >

template<class HFOREST >
virtual void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry ( void *  p_geo,
int  D 
) const [inline, private, virtual]
template<class HFOREST >
template<int D>
void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry ( HGeometry< D, dow > *  p_geo) const [inline, private]
template<class HFOREST >
template<int D>
void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry ( HGeometry< D, dow > *  p_geo) const [inline, private]
template<class HFOREST >
template<int D>
int MPI::MemoryReclaimer< HFOREST >::reclaimHGeometryRecursively ( HGeometry< D, dow > &  g) const [inline, private]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::reclaimIrregularMesh ( ir_mesh_t m) [inline, private]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::reclaimTreeMemory ( ) [inline, private]
template<class HFOREST >
template<int D>
int MPI::MemoryReclaimer< HFOREST >::relabelHGeometryRecursively ( HGeometry< D, dow > &  g) const [inline, private]
template<class HFOREST >
void MPI::MemoryReclaimer< HFOREST >::setGeometryTree ( tree_t _h_tree) [inline]

ýڴղHGeometryTree


成员数据文档

template<class HFOREST >
tree_t* MPI::MemoryReclaimer< HFOREST >::h_tree [private]
template<class HFOREST >
std::list<ir_mesh_t *> MPI::MemoryReclaimer< HFOREST >::ir_mesh [private]

该类的文档由以下文件生成: