10 #ifndef SRC_INCLUDE_SMASH_THERMODYNAMICOUTPUT_H_
11 #define SRC_INCLUDE_SMASH_THERMODYNAMICOUTPUT_H_
59 const int event_number)
override;
66 void at_eventend(
const std::vector<Particles> &ensembles,
67 const int event_number)
override;
81 const std::unique_ptr<Clock> &clock,
A class to pre-calculate and store parameters relevant for density calculation.
Abstraction of generic output.
A RAII type to replace std::FILE *.
Writes the thermodynamic quantities at a specified point versus time.
void at_eventend(const std::vector< Particles > &ensembles, const int event_number) override
only flushes the output the file
void density_along_line(const char *file_name, const ParticleList &plist, const DensityParameters ¶m, DensityType dens_type, const ThreeVector &line_start, const ThreeVector &line_end, int n_points)
Prints density along the specified line.
ThermodynamicOutput(const std::filesystem::path &path, const std::string &name, const OutputParameters &out_par)
Construct Output param[in] path Path to output param[in] name Filename param[in] out_par Parameters o...
void at_intermediate_time(const std::vector< Particles > &ensembles, const std::unique_ptr< Clock > &clock, const DensityParameters &dens_param) override
Writes thermodynamics every fixed time interval.
void at_eventstart(const std::vector< Particles > &ensembles, const int event_number) override
writes the event header
RenamingFilePtr file_
Pointer to output file.
const OutputParameters out_par_
Structure that holds all the information about what to printout.
~ThermodynamicOutput()
Default destructor.
The ThreeVector class represents a physical three-vector with the components .
DensityType
Allows to choose which kind of density to calculate.
Helper structure for Experiment to hold output options and parameters.