Class SourcePosition
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourcePosition : public SourceFeature
Position of a point source.
Public Functions
-
SourcePosition(Vector3d position)
Constructor for a source in 3D
- Parameters:
position – vector containing the coordinates of the point source [in meters]
-
SourcePosition(double d)
Constructor for a source in 1D
- Parameters:
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()
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourcePosition(Vector3d position)