Stellarator-Tools
Loading...
Searching...
No Matches
sxrem::sxrem_gp_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 sxrem::sxrem_gp_context_s:
sxrem::sxrem_context integration_path_context::integration_path_context_class sxrem::sxrem_gp_ti_context_s

Public Member Functions

procedure run (context, xcart, dxcart, length, dx)
 Soft x-ray gaussian process callback function for emiss signal signal kernel evaluation.
 
- Public Member Functions inherited from sxrem::sxrem_context
procedure run (context, xcart, dxcart, length, dx)
 Soft x-ray callback function.
 
- Public Member Functions inherited from integration_path_context::integration_path_context_class
procedure(integration_function), deferred run integration_function
 

Public Attributes

class(signal_class), pointer signal => null()
 Second signal.
 
integer flags
 Gaussian process kernel flags.
 
- Public Attributes inherited from sxrem::sxrem_context
integer profile_number
 The index of the emissivity profile model.
 
class(model_class), pointer model => null()
 Reference to a model::model_class object.
 

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 sxrem::sxrem_gp_context_s::run ( class (sxrem_gp_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 
)

Soft x-ray gaussian process callback function for emiss signal signal kernel evaluation.

Returns the value of the soft x-ray emiss guassian process kernel times the change in path length.

See also
integration_path
Parameters
[in]contextA sxrem_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, s)*f(x)*dl at point x. Where f(x) varies between the sxrem and ti profiles depending on the flags set.

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