#include <PotentialFunctions.h>
Inheritance diagram for AsymptoticFunction:
Public Member Functions | |
AsymptoticFunction (double range, double atZero, double solidCenter) | |
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. | |
Protected Attributes | |
double | solidCenter |
f(x) = atZero for x <= solidCenter |
Definition at line 319 of file PotentialFunctions.h.
|
Constructor.
Definition at line 328 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 339 of file PotentialFunctions.h. References AsymptoticFunction(), PotentialfieldFunction::getStandardParameters(), and solidCenter. |
Here is the call graph for this function:
|
Computes the value of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 354 of file PotentialFunctions.h. References solidCenter. |
|
Computes the value of the derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 370 of file PotentialFunctions.h. References solidCenter. |
|
Computes the value of the second derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 386 of file PotentialFunctions.h. |
|
Computes the values of a and b.
Reimplemented from PotentialfieldFunction. Definition at line 392 of file PotentialFunctions.h. References solidCenter. Referenced by AsymptoticFunction(). |
|
f(x) = atZero for x <= solidCenter
Definition at line 348 of file PotentialFunctions.h. |