Class SourceRedshift1D
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature(Class SourceFeature)
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
-
SourceRedshift1D()
Constructor
-
void setDescription()
-
inline virtual void prepareParticle(ParticleState &particle) const
-
std::string getDescription() const
Protected Attributes
-
std::string description
-
SourceRedshift1D()