![]() |
Stellarator-Tools
|
Base class containing the parameters of the integration method to use. More...
Public Member Functions | |
procedure | integrate_paths (this, path, context) |
Integrate along the paths. | |
procedure | integrate_path (this, context, vertex1, vertex2) |
Line integrate between to points. | |
GENERIC | integrate integrate_paths, integrate_path |
class(integration_path_class) function, pointer | integration_path_construct () |
Construct an integration_path_class object. | |
Public Attributes | |
real(rprec) | dx |
Step size to use. | |
Base class containing the parameters of the integration method to use.
Construction interface for integration_path_class constructor.
procedure integration_path::integration_path_class::integrate_path | ( | class (integration_path_class), intent(in) | this, |
class (integration_path_context_class), intent(in) | context, | ||
type (vertex), intent(in) | vertex1, | ||
type (vertex), intent(in) | vertex2 | ||
) |
Line integrate between to points.
This chooses the specific integration method.
[in] | this | In instance of a integration_path_class instance. |
[in] | context | Generic object that contains data for the integration function. |
[in] | vertex1 | Starting point. |
[in] | vertex2 | Ending point. |
procedure integration_path::integration_path_class::integrate_paths | ( | class (integration_path_class), intent(in) | this, |
type (vertex), intent(in) | path, | ||
class (integration_path_context_class), intent(in) | context | ||
) |
Integrate along the paths.
Recursively runs through the next vertex to find the last vertex. Once the last vertex is found, integrate alone that path. The integrand is proveded by means of call back function.
[in] | this | In instance of a integration_path_class instance. |
[in] | path | Starting vertex to of the path to integrate. |
[in] | context | Generic object that contains data for the integration function. |
class (integration_path_class) function, pointer integration_path::integration_path_class::integration_path_construct |
Construct an integration_path_class object.