2 #include "../misc/utils.hpp" 3 #include "../misc/lazy_list.hpp" 5 #include "../misc/hdf5_utils.hpp" 11 class CoordinateExtractor:
public LazyList<double>
17 tess_(tess), component_(component) {}
19 size_t size(
void)
const 21 return static_cast<size_t>(tess_.GetPointNo());
24 double operator[](
size_t i)
const 26 return (tess_.GetMeshPoint(static_cast<int>(i))).*component_;
Voronoi tessellation class.
Abstract class for tessellation.
vector< T > serial_generate(const LazyList< T > &ll)
Creates a vector from an LazyList.
Facilitates writing hdf5 files.
void output(const VoronoiMesh &v)
Outputs information from the Voronoi tessellation.
Abstract class for the tessellation.
double y
Component in the y direction.
Ordered list whose terms are evaluated lazily.
Method for dumping tessellation data to hdf5 file.
HDF5Logger(const string &fname)
Class constructor.
double x
Component in the x direction.