8 #ifndef __ZERO_QUANTITY_H 9 #define __ZERO_QUANTITY_H 11 #include "../Core/SharedLibraryExportMacros.h" 39 double enable_next_interpolation_region();
43 {
throw Error::Runtime(
"Called ZeroQuantity::crossings, " 44 "which are ill defined.");}
const FunctionDerivatives * deriv(double) const
Return the age derivative of the quantity at the given age.
double range_high() const
The largest age for which the quantity can be interpolated.
The derivatives of an identically zero quantity.
Declares a class implementing the intepolation of a single stellar quantity from stellar evolution tr...
void select_interpolation_region(double age)
Do nothing. See EvolvingStellarQuantity::select_interpolation_region.
double operator()(double) const
Return the value the quantity takes at the given age.
A class for stellar properties that depend on age.
An iterator over a set of solutions to an interpolating function.
InterpSolutionIterator crossings(double=0) const
An iterator over the ages where the quantity takes the given y value.
A class representing arbitrary order derivatives of a function.
double next_discontinuity() const
No discontinuities. See EvolvingStellarQuantity::next_discontinuity.
double range_low() const
The smallest age for which the quantity can be interpolated.