|
AFEPack
|
#include <MPI_MemoryReclaimer.h>
公有类型 | |
| 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_t > | ir_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_t * | h_tree |
| std::list< ir_mesh_t * > | ir_mesh |
| typedef ::MemoryReclaimer<dim,dow> MPI::MemoryReclaimer< HFOREST >::base_t |
| typedef HFOREST MPI::MemoryReclaimer< HFOREST >::forest_t |
| typedef BirdView<tree_t> MPI::MemoryReclaimer< HFOREST >::ir_mesh_t |
| typedef FOREST MPI::MemoryReclaimer< HFOREST >::tree_t |
| MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer | ( | ) | [inline] |
| MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer | ( | forest_t & | tree | ) | [inline] |
| virtual MPI::MemoryReclaimer< HFOREST >::~MemoryReclaimer | ( | ) | [inline, virtual] |
| MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer | ( | ) | [inline] |
| MPI::MemoryReclaimer< HFOREST >::MemoryReclaimer | ( | tree_t & | _h_tree | ) | [inline] |
| virtual MPI::MemoryReclaimer< HFOREST >::~MemoryReclaimer | ( | ) | [inline, virtual] |
| void MPI::MemoryReclaimer< HFOREST >::addIrregularMesh | ( | ir_mesh_t & | _ir_mesh | ) | [inline] |
ӽһμӲIrregularMesh
| void MPI::MemoryReclaimer< HFOREST >::clear | ( | ) | [inline] |
| void MPI::MemoryReclaimer< HFOREST >::initialTreeLabel | ( | ) | [inline, private] |
| bool MPI::MemoryReclaimer< HFOREST >::is_shared_geometry | ( | const GEO & | g | ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::labelHGeometry | ( | HGeometry< D, dow > & | g, |
| int | lab | ||
| ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::labelHGeometryRecursively | ( | HGeometry< D, dow > & | g, |
| int | lab | ||
| ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::labelIrregularMesh | ( | ir_mesh_t & | m | ) | [inline, private] |
| 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
ڴл
| virtual void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry | ( | void * | p_geo, |
| int | D | ||
| ) | const [inline, private, virtual] |
| void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry | ( | HGeometry< D, dow > * | p_geo | ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::reclaimHGeometry | ( | HGeometry< D, dow > * | p_geo | ) | const [inline, private] |
| int MPI::MemoryReclaimer< HFOREST >::reclaimHGeometryRecursively | ( | HGeometry< D, dow > & | g | ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::reclaimIrregularMesh | ( | ir_mesh_t & | m | ) | [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::reclaimTreeMemory | ( | ) | [inline, private] |
| int MPI::MemoryReclaimer< HFOREST >::relabelHGeometryRecursively | ( | HGeometry< D, dow > & | g | ) | const [inline, private] |
| void MPI::MemoryReclaimer< HFOREST >::setGeometryTree | ( | tree_t & | _h_tree | ) | [inline] |
ýڴղHGeometryTree
tree_t* MPI::MemoryReclaimer< HFOREST >::h_tree [private] |
std::list<ir_mesh_t *> MPI::MemoryReclaimer< HFOREST >::ir_mesh [private] |
1.7.4