10 #ifndef SRC_INCLUDE_OUTPUTINTERFACE_H_ 11 #define SRC_INCLUDE_OUTPUTINTERFACE_H_ 53 const int event_number) = 0;
64 double impact_parameter) = 0;
160 throw std::invalid_argument(
"Unknown thermodynamic quantity.");
175 return "net_baryonI3";
179 return "tot_isospin3";
183 return "strangeness";
187 throw std::invalid_argument(
"Unknown density type.");
200 #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_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...
virtual void at_intermediate_time(const Particles &particles, const Clock &clock, const DensityParameters &dens_param)
Output launched after every N'th timestep.
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.
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.
Clock tracks the time in the simulation.
Action is the base class for a generic process that takes a number of incoming particles and transfor...
bool is_dilepton_output() const
Get, whether this is the dilepton output?
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
virtual void at_eventend(const Particles &particles, const int event_number, double impact_parameter)=0
Output launched at event end.
bool is_photon_output() const
Get, whether this is the photon output?
Abstraction of generic output.