SPH
|
Interface for saving quantities of SPH particles to a file. More...
#include <Output.h>
Public Member Functions | |
IOutput (const OutputFile &fileMask) | |
Constructs output given the file name of the output. More... | |
virtual Expected< Path > | dump (const Storage &storage, const Statistics &stats)=0 |
Saves data from particle storage into the file. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Protected Attributes | |
OutputFile | paths |
Interface for saving quantities of SPH particles to a file.
Saves all values in the storage or selected few quantities, depending on implementation. It is also implementation-defined whether the saved representation of storage is lossless, i.e. whether the storage can be loaded without a loss in precision.
|
explicit |
Constructs output given the file name of the output.
Definition at line 98 of file Output.cpp.
|
pure virtual |
Saves data from particle storage into the file.
Returns the filename of the dump, generated from file mask given in constructor, or an error message in case writing the output file failed.
Implemented in PkdgravOutput, VtkOutput, CompressedOutput, BinaryOutput, GnuplotOutput, TextOutput, and SodOutput.
|
protected |