#include <PotentialFunctions.h>
Inheritance diagram for ParabolicFunction:
Public Member Functions | |
ParabolicFunction (double range, double atZero) | |
Constructor. | |
virtual PotentialfieldFunction * | clone () |
Clones a function object. | |
Protected Member Functions | |
double | f (double x) const |
Computes the value of the function for a given x. | |
double | d (double x) const |
Computes the value of the derivative of the function for a given x. | |
virtual double | dd (double x) const |
Computes the value of the second derivative of the function for a given x. | |
virtual void | init () |
Computes the values of a and b. |
Definition at line 250 of file PotentialFunctions.h.
|
Constructor.
Definition at line 258 of file PotentialFunctions.h. References init(). Referenced by clone(). |
Here is the call graph for this function:
|
Clones a function object.
Implements PotentialfieldFunction. Definition at line 268 of file PotentialFunctions.h. References PotentialfieldFunction::getStandardParameters(), and ParabolicFunction(). |
Here is the call graph for this function:
|
Computes the value of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 280 of file PotentialFunctions.h. |
|
Computes the value of the derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 289 of file PotentialFunctions.h. |
|
Computes the value of the second derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 298 of file PotentialFunctions.h. |
|
Computes the values of a and b.
Reimplemented from PotentialfieldFunction. Definition at line 304 of file PotentialFunctions.h. Referenced by ParabolicFunction(). |