![]() |
Stellarator-Tools
|
Struture to hole all memort needed to be sent to the integration callback function. More...
Public Member Functions | |
procedure | run (context, xcart, dxcart, length, dx) |
Interferometer callback function. | |
![]() | |
procedure(integration_function), deferred | run integration_function |
Public Attributes | |
class(model_class), pointer | model => null() |
Reference to a model::model_class object. | |
Struture to hole all memort needed to be sent to the integration callback function.
procedure intpol::intpol_int_context::run | ( | class (intpol_int_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 | ||
) |
Interferometer callback function.
Returns the value of the denisty times the change in path length. The denisty is provided by model::model_get_ne.
[in] | context | A model. |
[in] | xcart | A integration point. |
[in] | dxcart | A vector change in path. Not used in this function. |
[in] | length | Length along the integration. Not used in this function. |
[in] | dx | A scalar change in path. |