6 #ifndef SEGMENTS_LINEAR_HPP
7 #define SEGMENTS_LINEAR_HPP
11 #include "../domains/forward.hpp"
13 #include "../points/cartesian.hpp"
14 #include "../points/cylindrical.hpp"
15 #include "../points/polar.hpp"
16 #include "../points/spherical.hpp"
18 #include "../segmentations/forward.hpp"
19 #include "../cells/linear.hpp"
20 #include "../vertices/linear.hpp"
22 #include <boost/python.hpp>
23 using namespace boost::python;
36 LinearCartesian1D_Segment_t segment;
53 unsigned int num_cells();
82 LinearCartesian1D_Segment_t & get_segment();
96 LinearCartesian2D_Segment_t segment;
113 unsigned int num_cells();
142 LinearCartesian2D_Segment_t & get_segment();
156 LinearCartesian3D_Segment_t segment;
173 unsigned int num_cells();
202 LinearCartesian3D_Segment_t & get_segment();
216 LinearCylindrical3D_Segment_t segment;
233 unsigned int num_cells();
262 LinearCylindrical3D_Segment_t & get_segment();
276 LinearPolar2D_Segment_t segment;
293 unsigned int num_cells();
322 LinearPolar2D_Segment_t & get_segment();
336 LinearSpherical3D_Segment_t segment;
353 unsigned int num_cells();
382 LinearSpherical3D_Segment_t & get_segment();