Wrapped segmentation of a linear, cartesian 1D domain. More...
#include <linear.hpp>
Public Member Functions | |
LinearCartesian1D_Segmentation (LinearCartesian1D_Domain &dom) | |
unsigned int | num_segments () |
Return the number of segments that form the segmentation. | |
LinearCartesian1D_Segment | make_segment () |
Create a new segment in the segmentation. | |
list | get_segments () |
Return a Python list containing all the segments that form the segmentation. | |
LinearCartesian1D_Domain_t & | get_domain () |
Get a reference to the ViennaGrid domain object to which the segmentation corresponds. | |
LinearCartesian1D_Segmentation_t & | get_segmentation () |
Get a reference to the ViennaGrind segmentation object. |
Wrapped segmentation of a linear, cartesian 1D domain.
LinearCartesian1D_Domain_t & LinearCartesian1D_Segmentation::get_domain | ( | ) |
Get a reference to the ViennaGrid domain object to which the segmentation corresponds.
LinearCartesian1D_Segmentation_t & LinearCartesian1D_Segmentation::get_segmentation | ( | ) |
Get a reference to the ViennaGrind segmentation object.
list LinearCartesian1D_Segmentation::get_segments | ( | ) |
Return a Python list containing all the segments that form the segmentation.
LinearCartesian1D_Segment LinearCartesian1D_Segmentation::make_segment | ( | ) |
Create a new segment in the segmentation.
unsigned int LinearCartesian1D_Segmentation::num_segments | ( | ) |
Return the number of segments that form the segmentation.