Information about a specific square distribution, used by the multiple square lens and the lens inversion routine.
#include <squarelensinfo.h>
List of all members.
Public Member Functions |
| SquareLensInfo (double mass, double angularWidth, Vector2D< double > angularPosition) |
| Describe a square shaped mass distribution.
|
double | getMass () const |
| Returns the currently set mass.
|
double | getAngularWidth () const |
| Returns the currently set width.
|
Vector2D< double > | getAngularPosition () const |
| Returns the currently set position of the center of the mass distribution.
|
void | setMass (double m) |
| Sets the current mass.
|
Constructor & Destructor Documentation
grale::SquareLensInfo::SquareLensInfo |
( |
double |
mass, |
|
|
double |
angularWidth, |
|
|
Vector2D< double > |
angularPosition |
|
) |
| |
|
inline |
Describe a square shaped mass distribution.
- Parameters:
-
mass | The total mass of the distribution. |
angularwidth | The width of the distribution. |
angularpos | Position of the center of the mass distribution. |
Member Function Documentation
Vector2D<double> grale::SquareLensInfo::getAngularPosition |
( |
| ) |
const |
|
inline |
double grale::SquareLensInfo::getAngularWidth |
( |
| ) |
const |
|
inline |
double grale::SquareLensInfo::getMass |
( |
| ) |
const |
|
inline |
void grale::SquareLensInfo::setMass |
( |
double |
m | ) |
|
|
inline |
The documentation for this class was generated from the following file: