AFEPack
公有类型 | 公有成员 | 私有类型 | 私有属性 | 友元
Mesh< DIM, DOW >模板类参考

#include <Geometry.h>

类Mesh< DIM, DOW >继承关系图:
RegularMesh< DIM, DOW >

所有成员的列表。

公有类型

enum  { dim = DIM, dow = DOW }
typedef afepack::Point< DOWpoint_t
typedef GeometryBM::bmark_t bmark_t

公有成员

 Mesh ()
 Mesh (const mesh_t &)
virtual ~Mesh ()
mesh_toperator= (const mesh_t &)
unsigned int n_point () const
unsigned int n_geometry (int) const
const std::vector< point_t > & point () const
std::vector< point_t > & point ()
const point_tpoint (int) const
point_tpoint (int)
const std::vector< std::vector
< GeometryBM > > & 
geometry () const
std::vector< std::vector
< GeometryBM > > & 
geometry ()
const std::vector< GeometryBM > & geometry (int) const
std::vector< GeometryBM > & geometry (int)
const GeometryBMgeometry (int, int) const
GeometryBMgeometry (int, int)
bmark_t boundaryMark (int, int) const
bmark_tboundaryMark (int, int)
void renumerateElement ()
void renumerateElementHSFC (void(*f)(double, double, double, double &, double &, double &)=NULL)
void readData (const std::string &)
void writeData (const std::string &) const
void readData1d (const std::string &)
virtual void writeEasyMesh (const std::string &) const
virtual void writeTecplotData (const std::string &) const
 DeclException1 (ExcMeshData, char *,<< "Mesh data error: "<< arg1)

私有类型

typedef Mesh< DIM, DOWmesh_t

私有属性

std::vector< point_tpnt
std::vector< std::vector
< GeometryBM > > 
geo

友元

std::istream & operator>> (std::istream &, mesh_t &)
std::ostream & operator<< (std::ostream &, const mesh_t &)
filtering_istreamoperator>> (filtering_istream &, TemplateGeometry< DIM > &)
std::ostream & operator<< (std::ostream &, const TemplateGeometry< DIM > &)

详细描述

template<int DIM, int DOW = DIM>
class Mesh< DIM, DOW >

The data structure of a mesh. The class Mesh administrate a set of points and a set of geometries. The geometries are organized according its dimension and stored in arrays. A lot of mechanism provided to retrieve information from the mesh.


成员类型定义文档

template<int DIM, int DOW = DIM>
typedef GeometryBM::bmark_t Mesh< DIM, DOW >::bmark_t

MovingMesh重载。

template<int DIM, int DOW = DIM>
typedef Mesh<DIM,DOW> Mesh< DIM, DOW >::mesh_t [private]
template<int DIM, int DOW = DIM>
typedef afepack::Point<DOW> Mesh< DIM, DOW >::point_t

成员枚举类型文档

template<int DIM, int DOW = DIM>
anonymous enum
枚举值:
dim 
dow 

构造及析构函数文档

template<int DIM, int DOW = DIM>
Mesh< DIM, DOW >::Mesh ( )

Default contructor.

template<int DIM, int DOW = DIM>
Mesh< DIM, DOW >::Mesh ( const mesh_t )

Copy constructor.

template<int DIM, int DOW = DIM>
virtual Mesh< DIM, DOW >::~Mesh ( ) [virtual]

Destructor.


成员函数文档

template<int DIM, int DOW = DIM>
bmark_t Mesh< DIM, DOW >::boundaryMark ( int  ,
int   
) const

Boundary marker of certain geometry in certain dimension.

template<int DIM, int DOW = DIM>
bmark_t& Mesh< DIM, DOW >::boundaryMark ( int  ,
int   
)

Boundary marker of certain geometry in certain dimension.

template<int DIM, int DOW = DIM>
Mesh< DIM, DOW >::DeclException1 ( ExcMeshData  ,
char *  ,
<< "Mesh< DIM, DOW > data error: "<<  arg1 
)
template<int DIM, int DOW = DIM>
const std::vector<std::vector<GeometryBM> >& Mesh< DIM, DOW >::geometry ( ) const

Geometries arrays.

template<int DIM, int DOW = DIM>
std::vector<std::vector<GeometryBM> >& Mesh< DIM, DOW >::geometry ( )

Geometries arrays.

template<int DIM, int DOW = DIM>
const std::vector<GeometryBM>& Mesh< DIM, DOW >::geometry ( int  ) const

Geometries array in certain dimension.

template<int DIM, int DOW = DIM>
std::vector<GeometryBM>& Mesh< DIM, DOW >::geometry ( int  )

Geometries array in certain dimension.

template<int DIM, int DOW = DIM>
const GeometryBM& Mesh< DIM, DOW >::geometry ( int  ,
int   
) const

Certain geometry in certain dimension.

template<int DIM, int DOW = DIM>
GeometryBM& Mesh< DIM, DOW >::geometry ( int  ,
int   
)

Certain geometry in certain dimension.

template<int DIM, int DOW = DIM>
unsigned int Mesh< DIM, DOW >::n_geometry ( int  ) const

Number of geometries in certain dimension.

template<int DIM, int DOW = DIM>
unsigned int Mesh< DIM, DOW >::n_point ( ) const

Number of points in the mesh.

template<int DIM, int DOW = DIM>
mesh_t& Mesh< DIM, DOW >::operator= ( const mesh_t )

Copy operator.

RegularMesh< DIM, DOW >重载。

template<int DIM, int DOW = DIM>
const std::vector<point_t >& Mesh< DIM, DOW >::point ( ) const

Point array.

template<int DIM, int DOW = DIM>
std::vector<point_t >& Mesh< DIM, DOW >::point ( )

Point array.

template<int DIM, int DOW = DIM>
const point_t& Mesh< DIM, DOW >::point ( int  ) const

A certain point.

template<int DIM, int DOW = DIM>
point_t& Mesh< DIM, DOW >::point ( int  )

A certain point.

template<int DIM, int DOW = DIM>
void Mesh< DIM, DOW >::readData ( const std::string &  )

Read in data from a file in the internal data format.

TemplateGeometry< DIM >TemplateGeometry< TDIM >TriangleMesh< DOW >TriangleMesh< 2 >重载。

template<int DIM, int DOW = DIM>
void Mesh< DIM, DOW >::readData1d ( const std::string &  )

Read in 1 dimensional data from a file with only the node corrdinates.

template<int DIM, int DOW = DIM>
void Mesh< DIM, DOW >::renumerateElement ( )

Renumerate the element of the mesh. This is a very simple but efficient algorithm to decrease the band-width of the sparse system obtained.

RegularMesh< DIM, DOW >重载。

template<int DIM, int DOW>
void Mesh< DIM, DOW >::renumerateElementHSFC ( void(*)(double, double, double, double &, double &, double &)  f = NULL)
template<int DIM, int DOW = DIM>
void Mesh< DIM, DOW >::writeData ( const std::string &  ) const

Write data to a file in the internal data format.

TemplateGeometry< DIM >TemplateGeometry< TDIM >TriangleMesh< DOW >TriangleMesh< 2 >重载。

template<int DIM, int DOW = DIM>
virtual void Mesh< DIM, DOW >::writeEasyMesh ( const std::string &  ) const [inline, virtual]
template<int DIM, int DOW = DIM>
virtual void Mesh< DIM, DOW >::writeTecplotData ( const std::string &  ) const [inline, virtual]

友元及相关函数文档

template<int DIM, int DOW = DIM>
std::ostream& operator<< ( std::ostream &  ,
const mesh_t  
) [friend]

Stream output.

template<int DIM, int DOW = DIM>
std::ostream& operator<< ( std::ostream &  os,
const TemplateGeometry< DIM > &  t 
) [friend]
template<int DIM, int DOW = DIM>
std::istream& operator>> ( std::istream &  ,
mesh_t  
) [friend]

Stream input.

template<int DIM, int DOW = DIM>
filtering_istream& operator>> ( filtering_istream is,
TemplateGeometry< DIM > &  t 
) [friend]

成员数据文档

template<int DIM, int DOW = DIM>
std::vector<std::vector<GeometryBM> > Mesh< DIM, DOW >::geo [private]

Geometries arrays of the mesh. The geometries in n dimension are in the n-th entry of the array, which is still an array.

template<int DIM, int DOW = DIM>
std::vector<point_t > Mesh< DIM, DOW >::pnt [private]

Point array of the mesh.


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