AFEPack
公有成员 | 私有属性 | 友元
Geometry类参考

#include <Geometry.h>

类Geometry继承关系图:
GeometryBM

所有成员的列表。

公有成员

 Geometry ()
 Geometry (const Geometry &)
 ~Geometry ()
Geometryoperator= (const Geometry &)
int index () const
int & index ()
int n_vertex () const
int n_boundary () const
const std::vector< int > & vertex () const
std::vector< int > & vertex ()
const std::vector< int > & boundary () const
std::vector< int > & boundary ()
int vertex (int) const
int & vertex (int)
int boundary (int) const
int & boundary (int)

私有属性

int ind
std::vector< int > vtx
std::vector< int > bnd

友元

class Mesh
bool isSame (const Geometry &, const Geometry &)
std::istream & operator>> (std::istream &, Geometry &)
std::ostream & operator<< (std::ostream &, const Geometry &)

详细描述

the data to describe a geometry. We take the index of the vertices and boundary geometries of geometry to describe the geometry. Information else can be generated by iteration algorithm.


构造及析构函数文档

Default constructor.

Geometry::Geometry ( const Geometry g)

Copy constructor.

Destructor.


成员函数文档

const std::vector< int > & Geometry::boundary ( ) const

The boundary geometry index array.

std::vector< int > & Geometry::boundary ( )

The boundary geometry index array.

int Geometry::boundary ( int  i) const

An entry of the boundary geometry index array.

int & Geometry::boundary ( int  i)

An entry of the boundary geometry index array.

int Geometry::index ( ) const
int & Geometry::index ( )
int Geometry::n_boundary ( ) const

Number of boundary geometries.

int Geometry::n_vertex ( ) const

Number of vertices.

Geometry & Geometry::operator= ( const Geometry g)

Copy a geometry.

const std::vector< int > & Geometry::vertex ( ) const

The vertex index array.

std::vector< int > & Geometry::vertex ( )

The vertex index array.

int Geometry::vertex ( int  i) const

An entry of the vertex index array.

int & Geometry::vertex ( int  i)

An entry of the vertex index array.


友元及相关函数文档

bool isSame ( const Geometry g0,
const Geometry g1 
) [friend]

Judge if two geometries are the same.

friend class Mesh [friend]

class Mesh can acess Geometry

GeometryBM重载。

std::ostream& operator<< ( std::ostream &  os,
const Geometry g 
) [friend]

Stream output.

std::istream& operator>> ( std::istream &  is,
Geometry g 
) [friend]

Stream input.


成员数据文档

std::vector<int> Geometry::bnd [private]

Index of boundary geometries.

int Geometry::ind [private]

Index of the geometry.

std::vector<int> Geometry::vtx [private]

Index of vertices.


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