A function of the stellar angular momentum expected to evolve linearly with time under the m = 1, m' = 0 term. More...
#include <Oblique20LinearQuantity.h>
Inheritance diagram for Oblique20LinearQuantity:
Collaboration diagram for Oblique20LinearQuantity:Public Member Functions | |
| Oblique20LinearQuantity (double total_angmom, double orbital_angmom, double initial_star_angmom) | |
| double | operator() (double star_angmom) const |
| The value of the function at the given abscissa. More... | |
| double | range_high () const |
| The lower end of the range over which the function is defined. More... | |
| double | range_low () const |
| The upper end of the range over which the function is defined. More... | |
| Core::InterpSolutionIterator | crossings (double=0) const |
| An iterator over the abscissas where the function takes the given y value. More... | |
| const Core::FunctionDerivatives * | deriv (double star_angmom) const |
| Returns a pointer to the derivative of the function. More... | |
Public Member Functions inherited from Core::OneArgumentFunction< double, double > | |
| virtual | ~OneArgumentFunction () |
| Provide a virtual destructor for a virtual class. More... | |
Private Member Functions | |
| double | indefinite_integral (double star_angmom) const |
| Return the real part of the indefinite integral of the inverse of the rate of change of the stellar angular momentum. More... | |
Private Attributes | |
| double | __total_angmom |
| The Magnitude of the total angular momentum in the system in units of the orbital angular momentum (conserved). More... | |
| double | __initial_star_angmom |
| The Magnitude of the initial stellar spin angular momentum in. More... | |
| double | __angmom_scale |
| The initial orbital angular momentum (everything is scaled by this quantity). More... | |
| double | __initial_indefinite_integral |
| The value of indefinite integral(__initial_star_angmom) More... | |
A function of the stellar angular momentum expected to evolve linearly with time under the m = 1, m' = 0 term.
Definition at line 18 of file Oblique20LinearQuantity.h.
|
inlinevirtual |
An iterator over the abscissas where the function takes the given y value.
Implements Core::OneArgumentFunction< double, double >.
Definition at line 52 of file Oblique20LinearQuantity.h.
|
virtual |
Returns a pointer to the derivative of the function.
Result must be deleted when no longer needed.
The use of a pointer allows avoiding potentially expensive copy opertaions.
Implements Core::OneArgumentDiffFunction.
Definition at line 62 of file Oblique20LinearQuantity.cpp.
|
private |
Return the real part of the indefinite integral of the inverse of the rate of change of the stellar angular momentum.
Definition at line 10 of file Oblique20LinearQuantity.cpp.
|
virtual |
The value of the function at the given abscissa.
Implements Core::OneArgumentFunction< double, double >.
Definition at line 55 of file Oblique20LinearQuantity.cpp.
|
inlinevirtual |
The lower end of the range over which the function is defined.
Implements Core::OneArgumentFunction< double, double >.
Definition at line 47 of file Oblique20LinearQuantity.h.
|
inlinevirtual |
The upper end of the range over which the function is defined.
Implements Core::OneArgumentFunction< double, double >.
Definition at line 48 of file Oblique20LinearQuantity.h.
|
private |
The initial orbital angular momentum (everything is scaled by this quantity).
Definition at line 23 of file Oblique20LinearQuantity.h.
|
private |
The value of indefinite integral(__initial_star_angmom)
Definition at line 23 of file Oblique20LinearQuantity.h.
|
private |
The Magnitude of the initial stellar spin angular momentum in.
Definition at line 23 of file Oblique20LinearQuantity.h.
|
private |
The Magnitude of the total angular momentum in the system in units of the orbital angular momentum (conserved).
Definition at line 23 of file Oblique20LinearQuantity.h.