|
HyperspaceExplorer 0.7.1
|
a function describing the gravitational potential of a spherical mass More...
#include <RealFunctionImplementations.h>


Classes | |
| class | DefiningFunction |
| ParametricFunction that defines GravitationPotential. More... | |
Public Member Functions | |
| GravitationPotential (double tmin, double tmax, double dt, double umin, double umax, double du, double vmin, double vmax, double dv, double M=1, double R=0.25) | |
| virtual std::string | getFunctionName () const |
| virtual void | SetParameters (const ParameterMap &parms) |
| Set parameters to the Displayable. | |
Protected Attributes | |
| double | _M |
| Mass of the generating sphere(not really M, but M/R^3) | |
| double | _R |
| Radius of the generating sphere. | |
a function describing the gravitational potential of a spherical mass
| GravitationPotential::GravitationPotential | ( | double | xmin, |
| double | xmax, | ||
| double | dx, | ||
| double | ymin, | ||
| double | ymax, | ||
| double | dy, | ||
| double | zmin, | ||
| double | zmax, | ||
| double | dz, | ||
| double | M = 1, |
||
| double | R = 0.25 |
||
| ) |
GravitationPotential c'tor given a definition set in
(as parameter space), a mass and a radius of a spherical mass
| xmin | minimal value in t |
| xmax | maximal value in t |
| dx | stepsize in t |
| ymin | minimal value in u |
| ymax | maximal value in u |
| dy | stepsize in u |
| zmin | minimal value in v |
| zmax | maximal value in v |
| dz | stepsize in v |
| M | Mass of the generating sphere |
| R | Radius of the generating sphere |
References RealFunction::_function, Displayable::declareParameter(), and RealFunction::Initialize().

| virtual std::string GravitationPotential::getFunctionName | ( | ) | const [inline, virtual] |
Reimplemented from RealFunction.
| virtual void GravitationPotential::SetParameters | ( | const ParameterMap & | ) | [inline, virtual] |
Set parameters to the Displayable.
Reimplemented from Displayable.
References _M, _R, std::map< _Key, _Tp, _Compare, _Alloc >::begin(), std::map< _Key, _Tp, _Compare, _Alloc >::end(), and Displayable::setParameter().

1.7.4
-
Hosted by