 |
Version: SMASH-1.8
|
|
Go to the documentation of this file.
10 #ifndef SRC_INCLUDE_OUTPUTINTERFACE_H_
11 #define SRC_INCLUDE_OUTPUTINTERFACE_H_
54 const int event_number) = 0;
67 double impact_parameter,
bool empty_event) = 0;
88 const std::unique_ptr<Clock> &clock,
166 throw std::invalid_argument(
"Unknown thermodynamic quantity.");
181 return "net_baryonI3";
185 return "tot_isospin3";
189 return "strangeness";
193 throw std::invalid_argument(
"Unknown density type.");
209 #endif // SRC_INCLUDE_OUTPUTINTERFACE_H_
OutputInterface(std::string name)
Construct output interface.
A class to pre-calculate and store parameters relevant for density calculation.
bool is_IC_output() const
Get, whether this is the IC output?
const char * to_string(const ThermodynamicQuantity tq)
Convert thermodynamic quantities to strings.
virtual ~OutputInterface()=default
bool is_photon_output() const
Get, whether this is the photon output?
const bool is_photon_output_
Is this the photon output?
virtual void at_eventend(const Particles &particles, const int event_number, double impact_parameter, bool empty_event)=0
Output launched at event end.
virtual void at_interaction(const Action &action, const double density)
Called whenever an action modified one or more particles.
A container class to hold all the arrays on the lattice and access them.
Abstraction of generic output.
const bool is_dilepton_output_
Is this the dilepton output?
bool is_dilepton_output() const
Get, whether this is the dilepton output?
virtual void at_eventstart(const Particles &particles, const int event_number)=0
Output launched at event start after initialization, when particles are generated but not yet propaga...
#define SMASH_UNUSED(x)
Mark as unused, silencing compiler warnings.
DensityType
Allows to choose which kind of density to calculate.
ThermodynamicQuantity
Represents thermodynamic quantities that can be printed out.
virtual void at_intermediate_time(const Particles &particles, const std::unique_ptr< Clock > &clock, const DensityParameters &dens_param)
Output launched after every N'th timestep.
The GrandCanThermalizer class implements the following functionality:
const bool is_IC_output_
Is this the IC output?
const char * to_string(const DensityType dens_type)
Convert density types to strings.
virtual void thermodynamics_output(const ThermodynamicQuantity tq, const DensityType dt, RectangularLattice< DensityOnLattice > &lattice)
Output to write thermodynamics from the lattice.
virtual void thermodynamics_output(const GrandCanThermalizer &gct)
Output to write energy-momentum tensor and related quantities from the thermalizer class.
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.