Domain of lines in the cartesian 2D space.
More...
#include <triangular.hpp>
Detailed Description
Domain of lines in the cartesian 2D space.
- Since
- 0.1.0
Member Function Documentation
list TriangularCartesian2D_Domain::get_cells |
( |
| ) |
|
Return a Python list containing all the cells contained in the segment.
- Returns
- Python list
- Since
- 0.1.0
TriangularCartesian2D_Domain_t & TriangularCartesian2D_Domain::get_domain |
( |
| ) |
|
Get a reference to the ViennaGrid domain object.
- Returns
- Reference to the ViennaGrid domain object.
- Since
- 0.1.0
Return the vertex identified by the given index.
- Parameters
-
index | Numerical vertex ID as assigned by ViennaGrid on vertex creation. |
- Since
- 0.1.0
list TriangularCartesian2D_Domain::get_vertices |
( |
| ) |
|
Return a Python list containing all the vertices of the domain.
- Returns
- Python list
- Since
- 0.1.0
Create a new cell in the segment.
- Parameters
-
- Returns
- The newly created cell.
- Since
- 0.1.0
Create a new vertex in the domain based on the given point.
- Parameters
-
point | Point that represents the vertex. The point object will be copied. |
- Since
- 0.1.0
unsigned int TriangularCartesian2D_Domain::num_cells |
( |
| ) |
|
Return the number of cells contained in the segment.
- Returns
- unsigned integer
- Since
- 0.1.0
unsigned int TriangularCartesian2D_Domain::num_vertices |
( |
| ) |
|
Return the number of vertices contained in the domain.
- Returns
- unsigned integer
- Since
- 0.1.0
The documentation for this class was generated from the following files:
- /home/jonancm/Documentos/GSoC 2013/viennagrid-python/src/domains/triangular.hpp
- /home/jonancm/Documentos/GSoC 2013/viennagrid-python/src/domains/triangular.cpp