ViennaGrid for Python
 All Classes Files Functions Variables
Public Member Functions | List of all members
TetrahedralSpherical3D_Segment Class Reference

Wrapped segment of a tetrahedral, spherical domain. More...

#include <tetrahedral.hpp>

Public Member Functions

 TetrahedralSpherical3D_Segment (TetrahedralSpherical3D_Segment_t &initial_segment, TetrahedralSpherical3D_Segmentation &initial_segmentation)
unsigned int num_cells ()
 Return the number of cells contained in the segment.
TetrahedralSpherical3D_Cell make_cell (TetrahedralSpherical3D_Vertex vertex1, TetrahedralSpherical3D_Vertex vertex2, TetrahedralSpherical3D_Vertex vertex3, TetrahedralSpherical3D_Vertex vertex4)
 Create a new cell in the segment.
list get_cells ()
 Return a Python list containing all the cells contained in the segment.
TetrahedralSpherical3D_Segment_t & get_segment ()
 Get a reference to the ViennaGrind segment object.

Detailed Description

Wrapped segment of a tetrahedral, spherical domain.

Since
0.1.0

Member Function Documentation

list TetrahedralSpherical3D_Segment::get_cells ( )

Return a Python list containing all the cells contained in the segment.

Returns
Python list
Since
0.1.0
TetrahedralSpherical3D_Segment_t & TetrahedralSpherical3D_Segment::get_segment ( )

Get a reference to the ViennaGrind segment object.

Returns
Reference to the ViennaGrid segment object.
Since
0.1.0
TetrahedralSpherical3D_Cell TetrahedralSpherical3D_Segment::make_cell ( TetrahedralSpherical3D_Vertex  vertex1,
TetrahedralSpherical3D_Vertex  vertex2,
TetrahedralSpherical3D_Vertex  vertex3,
TetrahedralSpherical3D_Vertex  vertex4 
)

Create a new cell in the segment.

Parameters
vertex1
vertex2
vertex3
vertex4
Returns
The newly created cell.
Since
0.1.0
unsigned int TetrahedralSpherical3D_Segment::num_cells ( )

Return the number of cells contained in the segment.

Returns
unsigned integer
Since
0.1.0

The documentation for this class was generated from the following files: