Power law spatial distribution. More...
#include <PowerLawDistribution.hpp>


Public Member Functions | |
| PowerLawDistribution (double A, double b, Vector2D const ¢er=Vector2D(0, 0)) | |
| Class constructor. More... | |
| double | operator() (const Vector2D &point) const |
| Evaluates the function. More... | |
Power law spatial distribution.
Definition at line 13 of file PowerLawDistribution.hpp.
| PowerLawDistribution::PowerLawDistribution | ( | double | A, |
| double | b, | ||
| Vector2D const & | center = Vector2D(0,0) |
||
| ) |
Class constructor.
| A | The prefactor. The distribution is given as A*(x-center)^b |
| b | The exponent |
| center | The location of the star |
Definition at line 3 of file PowerLawDistribution.cpp.
|
virtual |
Evaluates the function.
| point | Position |
Implements SpatialDistribution.
Definition at line 6 of file PowerLawDistribution.cpp.

1.8.13