![]() |
Stellarator-Tools
|
Structure to hold all memory needed to be sent to the callback function. More...
Public Member Functions | |
procedure | run (context, xcart, dxcart, length, dx) |
Soft x-ray callback function. | |
![]() | |
procedure(integration_function), deferred | run integration_function |
Public Attributes | |
integer | profile_number |
The index of the emissivity profile model. | |
class(model_class), pointer | model => null() |
Reference to a model::model_class object. | |
Structure to hold all memory needed to be sent to the callback function.
procedure sxrem::sxrem_context::run | ( | class (sxrem_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 | ||
) |
Soft x-ray callback function.
Returns the value of the soft x-ray emissivity times the change in path length. The soft x-ray emissivity is provided by model::model_get_sxrem.
[in] | context | A sxrem_context for the model. |
[in] | xcart | The integration point. |
[in] | dxcart | A vector change in path. Not used in this function. |
[in] | length | Length along the integration. |
[in] | dx | A scalar change in path. |