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

Structure to hold all memory needed to be sent to the guassian process callback function for signal. More...

Inheritance diagram for intpol::intpol_gp_pol_context_s:
integration_path_context::integration_path_context_class

Public Member Functions

procedure run (context, xcart, dxcart, length, dx)
 Polarimetry gaussian process callback function for signal signal kernel evaluation.
 
- 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.
 
class(signal_class), pointer signal => null()
 First position.
 
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 for signal.

Member Function/Subroutine Documentation

◆ run()

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

Polarimetry gaussian process callback function for signal signal kernel evaluation.

Returns the value of the density guassian process kernel times the change in path length dotted with the magnetic field vector. The density kernel is provided by model::model_get_gp_ne. This is the first 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: