Version: SMASH-3.1
action.h File Reference
#include <stdexcept>
#include <utility>
#include <vector>
#include "lattice.h"
#include "particles.h"
#include "pauliblocking.h"
#include "potentials.h"
#include "processbranch.h"
#include "random.h"

Go to the source code of this file.

Classes

class  smash::Action
 Action is the base class for a generic process that takes a number of incoming particles and transforms them into any number of outgoing particles. More...
 
class  smash::Action::InvalidResonanceFormation
 Thrown for example when ScatterAction is called to perform with a wrong number of final-state particles or when the energy is too low to produce the resonance. More...
 
class  smash::Action::StochasticBelowEnergyThreshold
 Exception for a temporary bugfix for when multiparticle interactions do not have the necessary energy to create the final state. More...
 

Namespaces

 smash
 

Functions

std::vector< ActionPtr > & smash::operator+= (std::vector< ActionPtr > &lhs, std::vector< ActionPtr > &&rhs)
 Append vector of action pointers. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ActionPtr &action)
 Convenience: dereferences the ActionPtr to Action. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ActionList &actions)
 Writes multiple actions to the out stream. More...
 

Variables

static constexpr int smash::LAction = LogArea::Action::id