11 ofstream file_handle(filename_.c_str(),ios::binary);
12 if(!file_handle.good())
19 for(
size_t i=0;i<N;++i)
30 for(
size_t i=0;i<nfaces;++i)
38 for(
size_t j=0;j<f.
vertices.size();++j)
46 for(
size_t i=0;i<N;++i)
50 for(
size_t j=0;j<temp.size();++j)
double z
Component in the z direction.
std::pair< size_t, size_t > neighbors
Neighboring cells.
BinaryLogger(string const &filename)
Class constructor.
Abstract class for tessellation in 3D.
~BinaryLogger(void)
class destructor
Container for error reports.
void binary_write_single_double(double d, ofstream &fh)
Writes a double to a binary file.
Class for a logger for the tessellation in 3D that outputs a binary file. The output is as follows: 1...
virtual Vector3D GetMeshPoint(size_t index) const =0
Returns Position of mesh generating point.
std::vector< Vector3D > vertices
Points at the ends of the edge.
void Log(Tessellation3D const &tess) const
Creates a log file of the tessellation.
double y
Component in the y direction.
void binary_write_single_size_t(size_t n, ofstream &fh)
Writes a single size_t to a binary file.
virtual Face const & GetFace(size_t index) const =0
Returns Face (interface between cells)
virtual size_t GetPointNo(void) const =0
Get Total number of mesh generating points.
virtual size_t GetTotalFacesNumber(void) const =0
Returns the total number of faces.
double x
Component in the x direction.
Interface between two cells.
virtual vector< size_t > const & GetCellFaces(size_t index) const =0
Returns the indeces of a cell's Faces.