#include <hypersurfacecrossingaction.h>
Finder for hypersurface crossing actions.
Loops through all particles and checks if they cross the hypersurface during the next timestep.
Definition at line 72 of file hypersurfacecrossingaction.h.
Public Member Functions | |
HyperSurfaceCrossActionsFinder (double tau, double y, double pT) | |
Construct hypersurfacecrossing action finder. More... | |
ActionList | find_actions_in_cell (const ParticleList &plist, double dt, const double, const std::vector< FourVector > &beam_momentum) const override |
Find the next hypersurface crossings for each particle that occur within the timestepless propagation. More... | |
ActionList | find_actions_with_neighbors (const ParticleList &, const ParticleList &, double, const std::vector< FourVector > &) const override |
Ignore the neighbor searches for hypersurface crossing. More... | |
ActionList | find_actions_with_surrounding_particles (const ParticleList &, const Particles &, double, const std::vector< FourVector > &) const override |
Ignore the surrounding searches for hypersurface crossing. More... | |
ActionList | find_final_actions (const Particles &, bool) const override |
No final actions for hypersurface crossing. More... | |
Public Member Functions inherited from smash::ActionFinderInterface | |
virtual | ~ActionFinderInterface ()=default |
Private Member Functions | |
bool | crosses_hypersurface (ParticleData &pdata_before_propagation, ParticleData &pdata_after_propagation, const double tau) const |
Determine whether particle crosses hypersurface within next timestep during propagation. More... | |
FourVector | coordinates_on_hypersurface (ParticleData &pdata_before_propagation, ParticleData &pdata_after_propagation, const double tau) const |
Find the coordinates where particle crosses hypersurface. More... | |
Private Attributes | |
const double | prop_time_ |
Proper time of the hypersurface in fm. More... | |
const double | rap_cut_ |
Rapidity (momentum space) cut for the particles contributing to the initial conditions for hydrodynamics. More... | |
const double | pT_cut_ |
Transverse momentum cut for the particles contributing to the initial conditions for hydrodynamics. More... | |
|
inlineexplicit |
Construct hypersurfacecrossing action finder.
[in] | tau | Proper time of the hypersurface. [fm] |
[in] | y | Value for rapidity cut: absolute value of momentum space rapidity up to which particles are considered for initial conditions |
[in] | pT | Value for transverse momentum cut: maximum transverse momentum up to which particles are considered for initial conditions |
Definition at line 84 of file hypersurfacecrossingaction.h.
|
overridevirtual |
Find the next hypersurface crossings for each particle that occur within the timestepless propagation.
[in] | plist | List of all particles. |
[in] | dt | Time until crossing can appear (until end of timestep). [fm] |
[in] | beam_momentum | [GeV] List of beam momenta for each particle; only necessary for frozen Fermi motion necessary if frozen Fermi Motion is activated |
Implements smash::ActionFinderInterface.
Definition at line 51 of file hypersurfacecrossingaction.cc.
|
inlineoverridevirtual |
Ignore the neighbor searches for hypersurface crossing.
Implements smash::ActionFinderInterface.
Definition at line 102 of file hypersurfacecrossingaction.h.
|
inlineoverridevirtual |
Ignore the surrounding searches for hypersurface crossing.
Implements smash::ActionFinderInterface.
Definition at line 109 of file hypersurfacecrossingaction.h.
|
inlineoverridevirtual |
No final actions for hypersurface crossing.
Implements smash::ActionFinderInterface.
Definition at line 116 of file hypersurfacecrossingaction.h.
|
private |
Determine whether particle crosses hypersurface within next timestep during propagation.
[in] | pdata_before_propagation | Particle data at the beginning of time step in question |
[in] | pdata_after_propagation | Particle data at the end of time step in question |
[in] | tau | Proper time of the hypersurface that is tested |
Definition at line 150 of file hypersurfacecrossingaction.cc.
|
private |
Find the coordinates where particle crosses hypersurface.
[in] | pdata_before_propagation | Particle data at the beginning of time in question |
[in] | pdata_after_propagation | Particle data at the end of time step in question |
[in] | tau | Proper time of the hypersurface that is crossed |
Definition at line 184 of file hypersurfacecrossingaction.cc.
|
private |
Proper time of the hypersurface in fm.
Definition at line 122 of file hypersurfacecrossingaction.h.
|
private |
Rapidity (momentum space) cut for the particles contributing to the initial conditions for hydrodynamics.
If applied, only particles characterized by a rapidity between [-y_cut, y_cut] are printed to the hypersurface.
Definition at line 130 of file hypersurfacecrossingaction.h.
|
private |
Transverse momentum cut for the particles contributing to the initial conditions for hydrodynamics.
If applied, only particles characterized by a transverse momentum between [0, pT_cut] are printed to the hypersurface.
Definition at line 139 of file hypersurfacecrossingaction.h.