AFEPack
公有类型 | 公有�员 | �有�员 | �有属性
MPI::MemoryReclaimer< FOREST >模�类�考

#include <MPI_MemoryReclaimer.h>

所有�员的列表。

公有类型

enum  { dim = FOREST::dim, dow = FOREST::dow }
typedef FOREST tree_t
typedef BirdView< tree_t > ir_mesh_t

公有�员

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

�有�员

void markSharedObject ()
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
void markSharedElement (HGeometry< dim, dow > &ele) const
template<class GEO >
void markSharedGeometry (GEO &g) const
template<class GEO >
void labelHGeometry (GEO &g, int lab) const
template<class GEO >
void labelHGeometryRecursively (GEO &g, int lab) const
template<class GEO >
int relabelHGeometryRecursively (GEO &g) const
template<class GEO >
int reclaimHGeometryRecursively (GEO &g) const
template<class GEO >
void reclaimHGeometry (GEO *p_geo) const

�有属性

tree_t * h_tree
std::list< ir_mesh_t * > ir_mesh
property_id_t _pid_is_shared

template<class FOREST>
class MPI::MemoryReclaimer< FOREST >


�员类型定义文档

template<class FOREST >
typedef BirdView<tree_t> MPI::MemoryReclaimer< FOREST >::ir_mesh_t
template<class FOREST >
typedef FOREST MPI::MemoryReclaimer< FOREST >::tree_t

�员枚举类型文档

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

构造��构函数文档

template<class FOREST >
MPI::MemoryReclaimer< FOREST >::MemoryReclaimer ( ) [inline]
template<class FOREST >
MPI::MemoryReclaimer< FOREST >::MemoryReclaimer ( tree_t &  _h_tree) [inline]
template<class FOREST >
virtual MPI::MemoryReclaimer< FOREST >::~MemoryReclaimer ( ) [inline, virtual]

�员函数文档

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

¼Ó½øÒ»¸ö²Î¼Ó²Ù×÷µÄIrregularMesh¡£

template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::clear ( ) [inline]
template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::initialTreeLabel ( ) [inline, private]
template<class FOREST >
template<class GEO >
bool MPI::MemoryReclaimer< FOREST >::is_shared_geometry ( const GEO &  g) const [inline, private]

ÅжÏÒ»¸ö¼¸ºÎÌåÊÇ·ñÊǹ²ÏíµÄ£¬»òÕß¾ßÓй²Ïí×é¼þ¡£

template<class FOREST >
template<class GEO >
void MPI::MemoryReclaimer< FOREST >::labelHGeometry ( GEO &  g,
int  lab 
) const [inline, private]
template<class FOREST >
template<class GEO >
void MPI::MemoryReclaimer< FOREST >::labelHGeometryRecursively ( GEO &  g,
int  lab 
) const [inline, private]
template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::labelIrregularMesh ( ir_mesh_t &  m) [inline, private]
template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::markSharedElement ( HGeometry< dim, dow > &  ele) const [inline, private]

¶Ôµ¥Ôª ele µÝ¹éËÑË÷ÉèÖñê¼Ç¡£Èç¹û×ÔÉíÐèÒª±ê¼Ç£¬Ôò½«ÆäÐÖµÜÒ²±ê¼Ç ÉÏ£¬È»ºó¶ÔÆäºó´úµÝ¹é½øÐС£

template<class FOREST >
template<class GEO >
void MPI::MemoryReclaimer< FOREST >::markSharedGeometry ( GEO &  g) const [inline, private]

Èç¹û¼¸ºÎÌåÒѾ­±»±ê¼Ç£¬Ôò½«ÆäËùÓж¥µãºÍ±ß½ç±ê¼Ç£¬²¢¶Ô±ß½çµÝ¹é½ø Ðбê¼Ç¡£È»ºó¶Ô×ÔÉíµÄºó´úµÝ¹é½øÐС£

template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::markSharedObject ( ) [inline, private]
template<class FOREST >
void MPI::MemoryReclaimer< FOREST >::reclaim ( ) [inline]

ÏȶԸ÷¸öIrregularMeshµÄ²»Ê¹ÓÃÄÚ´æ½øÐлØÊÕ

¶ÔºÍ¹²Ïí¼¸ºÎÌåÓйصļ¸ºÎÌå×öÉϱê¼Ç

½«ËùÓÐ×é¼þ±ê־Ϊ -1

¶ÔʹÓÃÖеÄ×é¼þ±êʶΪ 1

¶ÔÄÚ´æ½øÐлØÊÕ

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

ÉèÖýøÐÐÄÚ´æ»ØÊÕ²Ù×÷µÄHGeometryTree¡£


�员数�文档

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

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