12 #include "../../misc/int2str.hpp" 14 #include "../../tessellation/Delaunay.hpp" 38 vector<ComputationalCell>
cells;
61 (
const string& fname,
bool mpioverride=
false);
72 virtual vector<double> operator()(
const hdsim& sim)
const = 0;
77 virtual string getName(
void)
const = 0;
90 const vector<DiagnosticAppendix*>& appendices=vector<DiagnosticAppendix*>());
131 bool mpioverride =
false);
Container for snapshot data.
Snapshot ReDistributeData2(string const &filename, Tessellation const &proctess, size_t snapshot_number, bool mpioverride=false)
Reads an HDF5 snapshot file in order to restart the simulation with a different cpu number...
Abstract class for tessellation.
Snapshot ReDistributeData(string const &filename, Tessellation const &proctess, size_t snapshot_number)
Reads an HDF5 snapshot file in order to restart the simulation with a different cpu number...
Newtonian hydrodynamic simulation.
Addition data to be written in a snapshot.
Two dimensional, newtonian simulation.
vector< Vector2D > mesh_points
Mesh points.
Contains function that write simulation data to a file.
void WriteDelaunay(Delaunay const &tri, string const &filename)
Writes the Delaunay triangulation data into an HDF5 file.
Snapshot & operator=(const Snapshot &other)
Copy operator.
The Delaunay data structure. Gets a set of points and constructs the Delaunay tessellation.
Base class for equation of state.
void write_snapshot_to_hdf5(hdsim const &sim, string const &fname, const vector< DiagnosticAppendix *> &appendices=vector< DiagnosticAppendix *>())
Writes the simulation data into an HDF5 file.
Class for keeping the names of the tracers and stickers.
void WriteTess(Tessellation const &tess, string const &filename)
Writes the tessellation data into an HDF5 file.
Snapshot(void)
Default constructor.
void ConvertHDF5toBinary(string const &input, string const &output)
Converts an HDF5 snapshot file to the RICH custom reset binary format.
vector< Vector2D > proc_points
Locations of cpus.
TracerStickerNames tracerstickernames
THe names of the tracers and stickers.
vector< ComputationalCell > cells
Computational cells.
Snapshot read_hdf5_snapshot(const string &fname, bool mpioverride=false)
Load snapshot data into memory.
Contains data required to restart a simulation run.