Version: SMASH-1.6
decayactionsfinder.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright (c) 2014-2018
4
* SMASH Team
5
*
6
* GNU General Public License (GPLv3 or later)
7
*
8
*/
9
10
#ifndef SRC_INCLUDE_DECAYACTIONSFINDER_H_
11
#define SRC_INCLUDE_DECAYACTIONSFINDER_H_
12
13
#include <vector>
14
15
#include "
actionfinderfactory.h
"
16
17
namespace
smash
{
18
25
class
DecayActionsFinder
:
public
ActionFinderInterface
{
26
public
:
28
DecayActionsFinder
() {}
29
37
ActionList
find_actions_in_cell
(
const
ParticleList &search_list,
38
double
dt)
const override
;
39
41
ActionList
find_actions_with_neighbors
(
const
ParticleList &,
42
const
ParticleList &,
43
double
)
const override
{
44
return
{};
45
}
46
48
ActionList
find_actions_with_surrounding_particles
(
const
ParticleList &,
49
const
Particles
&,
50
double
)
const override
{
51
return
{};
52
}
53
63
ActionList
find_final_actions
(
const
Particles
&search_list,
64
bool
only_res =
false
)
const override
;
65
};
66
67
}
// namespace smash
68
69
#endif // SRC_INCLUDE_DECAYACTIONSFINDER_H_
smash::DecayActionsFinder::find_final_actions
ActionList find_final_actions(const Particles &search_list, bool only_res=false) const override
Force all resonances to decay at the end of the simulation.
Definition:
decayactionsfinder.cc:71
actionfinderfactory.h
smash::DecayActionsFinder::find_actions_with_neighbors
ActionList find_actions_with_neighbors(const ParticleList &, const ParticleList &, double) const override
Ignore the neighbor searches for decays.
Definition:
decayactionsfinder.h:41
smash::DecayActionsFinder::DecayActionsFinder
DecayActionsFinder()
Initialize the finder.
Definition:
decayactionsfinder.h:28
smash::DecayActionsFinder
A simple decay finder: Just loops through all particles and checks if they can decay during the next ...
Definition:
decayactionsfinder.h:25
smash::ActionFinderInterface
ActionFinderInterface is the abstract base class for all action finders, i.e.
Definition:
actionfinderfactory.h:27
smash::Particles
The Particles class abstracts the storage and manipulation of particles.
Definition:
particles.h:33
smash::DecayActionsFinder::find_actions_with_surrounding_particles
ActionList find_actions_with_surrounding_particles(const ParticleList &, const Particles &, double) const override
Ignore the surrounding searches for decays.
Definition:
decayactionsfinder.h:48
smash
Definition:
action.h:24
smash::DecayActionsFinder::find_actions_in_cell
ActionList find_actions_in_cell(const ParticleList &search_list, double dt) const override
Check the whole particle list for decays.
Definition:
decayactionsfinder.cc:22
src
include
smash
decayactionsfinder.h
Impressum
Data privacy protection
Generated on Fri May 24 2019 16:36:31 for SMASH by
Doxygen
1.8.11