Class SourcePosition

Inheritance Relationships

Base Type

Class Documentation

class SourcePosition : public SourceFeature

Position of a point source.

Public Functions

SourcePosition(Vector3d position)

Constructor for a source in 3D


position – vector containing the coordinates of the point source [in meters]

SourcePosition(double d)

Constructor for a source in 1D


d – distance of the point source to the observer at x = 0 [in meters]; internally this will be converted to a vector with x-coordinate equal to d

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

Protected Attributes

std::string description
mutable size_t _referenceCount