AFEPack
|
#include <HGeometry.h>
公有类型 | |
enum | { dim = DIM, dow = DOW } |
typedef std::list< entry_t * > | container_t |
typedef _Deref_iterator < typename container_t::iterator, entry_t > | RootIterator |
typedef _Deref_iterator < typename container_t::const_iterator, const entry_t > | ConstRootIterator |
typedef HTools | Tools |
公有成员 | |
HGeometryTree () | |
virtual | ~HGeometryTree () |
container_t & | rootElement () |
const container_t & | rootElement () const |
unsigned int | n_rootElement () const |
RootIterator | beginRootElement () |
RootIterator | endRootElement () |
ConstRootIterator | beginRootElement () const |
ConstRootIterator | endRootElement () const |
void | clear () |
void | checkIntegrity () |
bool | is_locked () const |
bool & | is_locked () |
void | readEasyMesh (const std::string &) |
void | readMesh (const std::string &) |
template<> | |
void | readEasyMesh (const std::string &filename) |
保护成员 | |
bool | lock () |
void | unlock () |
私有类型 | |
typedef HGeometry< DIM, DOW > | entry_t |
私有属性 | |
container_t | root_element |
bool | _is_locked |
友元 | |
class | IrregularMesh< DIM, DOW > |
Hierarchy geometry tree. This is the class to manage all those macro elements, as the roots of all those hierarchy geometries.
typedef _Deref_iterator<typename container_t::const_iterator, const entry_t> HGeometryTree< DIM, DOW >::ConstRootIterator |
typedef std::list<entry_t *> HGeometryTree< DIM, DOW >::container_t |
typedef HGeometry<DIM,DOW> HGeometryTree< DIM, DOW >::entry_t [private] |
typedef _Deref_iterator<typename container_t::iterator, entry_t> HGeometryTree< DIM, DOW >::RootIterator |
我们在进行半正则化以前对树进行加锁,在完成正则化 以后对树进行解锁,使得在此过程中数据具有一致性。 注意我们只是避免两个同时出现的不同的半正则化+正则 化操作发生冲突,并不能完全避免破坏性地使用。
typedef HTools HGeometryTree< DIM, DOW >::Tools |
HGeometryTree< DIM, DOW >::HGeometryTree | ( | ) | [inline] |
virtual HGeometryTree< DIM, DOW >::~HGeometryTree | ( | ) | [inline, virtual] |
RootIterator HGeometryTree< DIM, DOW >::beginRootElement | ( | ) | [inline] |
ConstRootIterator HGeometryTree< DIM, DOW >::beginRootElement | ( | ) | const [inline] |
void HGeometryTree< DIM, DOW >::checkIntegrity | ( | ) |
void HGeometryTree< DIM, DOW >::clear | ( | ) |
RootIterator HGeometryTree< DIM, DOW >::endRootElement | ( | ) | [inline] |
ConstRootIterator HGeometryTree< DIM, DOW >::endRootElement | ( | ) | const [inline] |
bool HGeometryTree< DIM, DOW >::is_locked | ( | ) | const [inline] |
bool& HGeometryTree< DIM, DOW >::is_locked | ( | ) | [inline] |
bool HGeometryTree< DIM, DOW >::lock | ( | ) | [inline, protected] |
unsigned int HGeometryTree< DIM, DOW >::n_rootElement | ( | ) | const [inline] |
void HGeometryTree< DIM, DOW >::readEasyMesh | ( | const std::string & | ) |
This is the routine used to read in mesh data generated by the software "easymesh". For 2 dimensional case only.
void HGeometryTree< 2, DOW >::readEasyMesh | ( | const std::string & | filename | ) |
void HGeometryTree< DIM, DOW >::readMesh | ( | const std::string & | ) |
This is the routine used to read in the mesh data in the internal data format.
container_t& HGeometryTree< DIM, DOW >::rootElement | ( | ) | [inline] |
const container_t& HGeometryTree< DIM, DOW >::rootElement | ( | ) | const [inline] |
void HGeometryTree< DIM, DOW >::unlock | ( | ) | [inline, protected] |
friend class IrregularMesh< DIM, DOW > [friend] |
bool HGeometryTree< DIM, DOW >::_is_locked [private] |
container_t HGeometryTree< DIM, DOW >::root_element [private] |