6 #ifndef DIAGNOSTICS_HPP 7 #define DIAGNOSTICS_HPP 1 14 #include "../../misc/utils.hpp" 15 #include "../../tessellation/ConvexHull.hpp" 40 bool floatprecision=
true);
80 #endif // DIAGNOSTICS_HPP
void BinOutput(string location, hdsim const &sim, Tessellation const &V, bool floatprecision=true)
Outputs the simulation data into a binary file (float precision) as follows: 1) Int - Number of cells...
Abstract class for tessellation.
Container for error reports.
double total_tracer(const hdsim &sim, const int index)
Calculates the total amount of tracer in computational domain.
Newtonian hydrodynamic simulation.
void DisplayError(UniversalError const &eo)
Displays the UniversalError information.
Two dimensional, newtonian simulation.
vector< Vector2D > ReadVector2DFromFile(string filename)
Reads a vector of Vector2D from a binary file.
void write_error(const string &fname, const UniversalError &eo)
Writes all the error information to a file.
void WriteVector2DToFile(vector< Vector2D > const &vec, string filename)
Writes a vector of Vector2D to a binary file.
Physical geometry of the grid.
Extensive total_conserved(hdsim const &sim)
Calculates the total extensive conserved variables of the entire computational domain.