Class SourceFeature

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class SourceFeature : public Referenced

Abstract base class cosmic ray source features.

Subclassed by SourceComposition, SourceDensityGrid, SourceDensityGrid1D, SourceDirection, SourceEmissionCone, SourceEmissionMap, SourceEnergy, SourceGenericComposition, SourceIsotropicEmission, SourceLambertDistributionOnSphere, SourceMultipleParticleTypes, SourceMultiplePositions, SourceParticleType, SourcePosition, SourcePowerLawSpectrum, SourcePulsarDistribution, SourceRedshift, SourceRedshift1D, SourceRedshiftEvolution, SourceSNRDistribution, SourceUniform1D, SourceUniformBox, SourceUniformCylinder, SourceUniformHollowSphere, SourceUniformRedshift, SourceUniformShell, SourceUniformSphere

Public Functions

virtual void prepareParticle(ParticleState &particle) const
void prepareCandidate(Candidate &candidate) const
std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

std::string description
size_t _referenceCount