Class SourceRedshift1D

Inheritance Relationships

Base Type

Class Documentation

class SourceRedshift1D : public SourceFeature

Redshift according to the distance to 0.

This source property sets the redshift according to the distance from the source to the origin (0, 0, 0). It must be added after the position of the source is set because it computes the redshifts based on the source distance.

Public Functions



virtual void prepareCandidate(Candidate &candidate) const
void setDescription()
inline virtual void prepareParticle(ParticleState &particle) 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