realT _radius
The optional radius of the blackbody.
std::vector< realT > _spectrum
The calculated spectral energy distribution.
realT _temperature
The temperature of the blackbody. Default value is the effective temperature of the Sun.
void setParameters(realT T, realT R, realT d)
Set the parameters of the blackbody.
units::realT realT
The real floating point type used for calculations.
blackbody(realT T, realT R=0, realT d=0)
Constructor used to initialize parameters.
realT _distance
The optional distance to the blackbody.