|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
Range where a model and/or process is valid. More...
#include <Applicability.hh>
Public Types | |
| using | EnergyUnits = units::Mev |
| using | Energy = RealQuantity< EnergyUnits > |
Public Member Functions | |
| operator bool () const | |
| Whether applicability is in a valid state. | |
Public Attributes | |
| PhysMatId | material {} |
| ParticleId | particle {} |
| Energy | lower = zero_quantity() |
| Energy | upper = max_quantity() |
Range where a model and/or process is valid.
This class is used during setup for specifying the ranges of applicability for a physics model or process. The interval is closed on the lower energy range and open on the upper energy. So a threshold reaction should have the lower energy set to the threshold.
An unset value for "material" means it applies to all materials; however, the particle ID should always be set.