|
AFEPack
|
#include <Geometry.h>
公有成员 | |
| Geometry () | |
| Geometry (const Geometry &) | |
| ~Geometry () | |
| Geometry & | operator= (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.
| 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.
Judge if two geometries are the same.
friend class Mesh [friend] |
被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.
1.7.6.1