![]() |
Stellarator-Tools
|
A type for the test cases. More...
Public Member Functions | |
| procedure | run (context, xcart, dxcart, length, dx) |
| Call back function to test the integration. | |
Public Member Functions inherited from integration_path_context::integration_path_context_class | |
| procedure(integration_function), deferred | run integration_function |
A type for the test cases.
| procedure integration_path::test_context::run | ( | class (test_context), intent(in) | context, |
| real (rprec), dimension(3), intent(in) | xcart, | ||
| real (rprec), dimension(3), intent(in) | dxcart, | ||
| real (rprec), intent(in) | length, | ||
| real (rprec), intent(in) | dx | ||
| ) |
Call back function to test the integration.
This defined a function of f(x) = 1.
| [in] | context | Generic object that contains data for the integration function. |
| [in] | xcart | Current point in the integration. |
| [in] | dxcart | Vector direction of the current integration path. |
| [in] | length | Length along the current integration. |
| [in] | dx | Scaler length of the current integration path. |