Class SourceMultiplePositions
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceMultiplePositions : public SourceFeature
Multiple point-source positions with individual luminosities.
Public Functions
-
SourceMultiplePositions()
Constructor. The sources must be added individually to the object.
-
void add(Vector3d position, double weight = 1)
Add an individual source with a given luminosity/contribution.
- Parameters:
position – vector containing the coordinates of the point source [in meters]
weight – luminosity/contribution of the individual source
-
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
-
SourceMultiplePositions()