#include <icoutput.h>
SMASH output in ASCII format containing initial conditions for hydrodynamic codes.
Formatted such that it can be directly processed by vHLLE Karpenko:2015xea.
Definition at line 31 of file icoutput.h.
Public Member Functions | |
ICOutput (const bf::path &path, const std::string &name, const OutputParameters &out_par) | |
Create a new IC output. More... | |
~ICOutput () | |
void | at_eventstart (const Particles &, const int event_number) override |
Write event start line. More... | |
void | at_eventend (const Particles &particles, const int event_number, double, bool) override |
Write event end line. More... | |
void | at_intermediate_time (const Particles &, const std::unique_ptr< Clock > &, const DensityParameters &) override |
Unused, but needed since virtually declared in mother class. More... | |
void | at_interaction (const Action &action, const double) override |
Write particle data at the hypersurface crossing point to the IC output. More... | |
![]() | |
OutputInterface (std::string name) | |
Construct output interface. More... | |
virtual | ~OutputInterface ()=default |
virtual void | thermodynamics_output (const ThermodynamicQuantity tq, const DensityType dt, RectangularLattice< DensityOnLattice > &lattice) |
Output to write thermodynamics from the lattice. More... | |
virtual void | thermodynamics_output (const ThermodynamicQuantity tq, const DensityType dt, RectangularLattice< EnergyMomentumTensor > &lattice) |
Output to write energy-momentum tensor and related quantities from the lattice. More... | |
virtual void | thermodynamics_output (const GrandCanThermalizer &gct) |
Output to write energy-momentum tensor and related quantities from the thermalizer class. More... | |
bool | is_dilepton_output () const |
Get, whether this is the dilepton output? More... | |
bool | is_photon_output () const |
Get, whether this is the photon output? More... | |
bool | is_IC_output () const |
Get, whether this is the IC output? More... | |
const char * | to_string (const ThermodynamicQuantity tq) |
Convert thermodynamic quantities to strings. More... | |
const char * | to_string (const DensityType dens_type) |
Convert density types to strings. More... | |
Private Attributes | |
RenamingFilePtr | file_ |
Pointer to output file. More... | |
const OutputParameters | out_par_ |
Structure that holds all the information about what to printout. More... | |
double | IC_proper_time_ = -1.0 |
Proper time of the particles removed when extracting initial conditions. More... | |
Additional Inherited Members | |
![]() | |
const bool | is_dilepton_output_ |
Is this the dilepton output? More... | |
const bool | is_photon_output_ |
Is this the photon output? More... | |
const bool | is_IC_output_ |
Is this the IC output? More... | |
smash::ICOutput::ICOutput | ( | const bf::path & | path, |
const std::string & | name, | ||
const OutputParameters & | out_par | ||
) |
Create a new IC output.
[in] | path | Path to the output file. |
[in] | name | Name of the output. |
[in] | out_par | Additional information on the configured output. |
Definition at line 94 of file icoutput.cc.
smash::ICOutput::~ICOutput | ( | ) |
Definition at line 107 of file icoutput.cc.
|
overridevirtual |
Write event start line.
[in] | event_number | Number of the current event. |
Implements smash::OutputInterface.
Definition at line 109 of file icoutput.cc.
|
overridevirtual |
Write event end line.
[in] | particles | Particles at end of event, expected to be empty |
[in] | event_number | Number of the current event. |
Implements smash::OutputInterface.
Definition at line 113 of file icoutput.cc.
|
overridevirtual |
Unused, but needed since virtually declared in mother class.
Reimplemented from smash::OutputInterface.
Definition at line 128 of file icoutput.cc.
|
overridevirtual |
Write particle data at the hypersurface crossing point to the IC output.
[in] | action | Details about the action |
Reimplemented from smash::OutputInterface.
Definition at line 134 of file icoutput.cc.
|
private |
Pointer to output file.
Definition at line 72 of file icoutput.h.
|
private |
Structure that holds all the information about what to printout.
Definition at line 74 of file icoutput.h.
|
private |
Proper time of the particles removed when extracting initial conditions.
Parameter used for testing purposes only. Used to verify that the initial proper time remains unchanged during the evolution. Dewtermined from the actually removed particles. By construction, tau > 0. Nevertheless it is initialized with a negative number to easily find the first particle that is removed from the evolution in at_interaction().
Definition at line 85 of file icoutput.h.