Class SourceEnergy
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceEnergy : public SourceFeature
Sets the initial energy of the emitted particles to a specific value.
This feature assigns a monochromatic spectrum, i.e., a single energy to all particles.
Public Functions
-
SourceEnergy(double energy)
Constructor
- Parameters:
energy – energy of the particle (in Joules)
-
virtual void prepareParticle(ParticleState &particle) const
-
void setDescription()
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourceEnergy(double energy)