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

Structure to hold all memory needed to be sent to the guassian process callback function of a point. More...

Inheritance diagram for intpol::intpol_gp_pol_context_i:
integration_path_context::integration_path_context_class

Public Member Functions

procedure run (context, xcart, dxcart, length, dx)
 Electron density gaussian process callback function for signal point kernel evaluation for a polarimetry signal.
 
- 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.
 
integer i
 Position index.
 
integer flags = model_state_all_off
 Gaussian process kernel flags.
 

Detailed Description

Structure to hold all memory needed to be sent to the guassian process callback function of a point.

Member Function/Subroutine Documentation

◆ run()

procedure intpol::intpol_gp_pol_context_i::run ( class (intpol_gp_pol_context_i), 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 
)

Electron density gaussian process callback function for signal point kernel evaluation for a polarimetry signal.

Returns the value of the density guassian process kernel times the change in path length. The density kernel is provided by model::model_get_gp_ne. This is the second signal.

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

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