![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
Utility function for sphere_distribution. More...
#include <aims/points_distribution/points_distribution.h>
Public Member Functions | |
CoulombAndRestoringForce () | |
virtual | ~CoulombAndRestoringForce () |
virtual Point3df | force (const Point3df &p1, const Point3df &p2, bool has_link) |
Force between 2 points. More... | |
virtual double | energy (const Point3df &p1, const Point3df &p2, bool has_link) |
Energy of the force between 2 points. More... | |
![]() | |
ForceFunction () | |
virtual | ~ForceFunction () |
Utility function for sphere_distribution.
Individual Coulomb force between 2 points, plus a restoring force that avoids points expanding away like the universe
Definition at line 124 of file points_distribution.h.
|
inline |
Definition at line 127 of file points_distribution.h.
|
inlinevirtual |
Definition at line 128 of file points_distribution.h.
References aims::PointsDistribution::ForceFunction::energy(), and aims::PointsDistribution::ForceFunction::force().
|
virtual |
Energy of the force between 2 points.
Energy functions are the integral of corresponding forces - they are used to drive the minimization.
Implements aims::PointsDistribution::ForceFunction.
|
virtual |
Force between 2 points.
Implements aims::PointsDistribution::ForceFunction.