Stellarator-Tools
Loading...
Searching...
No Matches
intpol::intpol_int_context Type Reference

Struture to hole all memort needed to be sent to the integration callback function. More...

Inheritance diagram for intpol::intpol_int_context:
integration_path_context::integration_path_context_class

Public Member Functions

procedure run (context, xcart, dxcart, length, dx)
 Interferometer callback function.
 
- Public Member Functions inherited from integration_path_context::integration_path_context_class
procedure(integration_function), deferred run integration_function
 

Public Attributes

class(model_class), pointer model => null()
 Reference to a model::model_class object.
 

Detailed Description

Struture to hole all memort needed to be sent to the integration callback function.

Member Function/Subroutine Documentation

◆ run()

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.

See also
integration_path
Parameters
[in]contextA model.
[in]xcartA integration point.
[in]dxcartA vector change in path. Not used in this function.
[in]lengthLength along the integration. Not used in this function.
[in]dxA scalar change in path.
Returns
The ne(x)*dl at point x.

The documentation for this type was generated from the following file: