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_ #define SMASH_UNUSED(x)
Mark as unused, silencing compiler warnings.
A class to pre-calculate and store parameters relevant for density calculation.
const char * to_string(const DensityType dens_type)
Convert density types to strings.
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.
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...
const bool is_dilepton_output_
Is this the dilepton output?
virtual void thermodynamics_output(const GrandCanThermalizer &gct)
Output to write energy-momentum tensor and related quantities from the thermalizer class...
A container class to hold all the arrays on the lattice and access them.
virtual void at_interaction(const Action &action, const double density)
Called whenever an action modified one or more particles.
const bool is_photon_output_
Is this the photon output?
ThermodynamicQuantity
Represents thermodynamic quantities that can be printed out.
bool is_IC_output() const
Get, whether this is the IC output?
The GrandCanThermalizer class implements the following functionality:
virtual void thermodynamics_output(const ThermodynamicQuantity tq, const DensityType dt, RectangularLattice< DensityOnLattice > &lattice)
Output to write thermodynamics from the lattice.
Action is the base class for a generic process that takes a number of incoming particles and transfor...
const bool is_IC_output_
Is this the IC output?
bool is_dilepton_output() const
Get, whether this is the dilepton output?
virtual void at_eventend(const Particles &particles, const int event_number, double impact_parameter, bool empty_event)=0
Output launched at event end.
const char * to_string(const ThermodynamicQuantity tq)
Convert thermodynamic quantities to strings.
The Particles class abstracts the storage and manipulation of particles.
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.
DensityType
Allows to choose which kind of density to calculate.
OutputInterface(std::string name)
Construct output interface.
virtual ~OutputInterface()=default
bool is_photon_output() const
Get, whether this is the photon output?
Abstraction of generic output.