V3FIT
|
Defines a feedback signal based on the temperature based on the ration of the soft x-ray emissivity profile. This signal feeds back the temperature profile at a specified positon. More...
Data Types | |
interface | sxrem_ratio_class |
Base class representing a sxrem_ratio signal. More... | |
Functions/Subroutines | |
class(sxrem_ratio_class) function, pointer | sxrem_ratio_construct (x_cart, indices) |
Construct a sxrem_ratio_class object. More... | |
subroutine | sxrem_ratio_destruct (this) |
Deconstruct a sxrem_ratio_class object. More... | |
real(rprec) function, dimension(4) | sxrem_ratio_get_modeled_signal (this, a_model, sigma, last_value) |
Calculates the modeled signal. More... | |
real(rprec) function | sxrem_ratio_get_observed_signal (this, a_model) |
Calculates the observed signal. More... | |
character(len=data_name_length) function | sxrem_ratio_get_type (this) |
Gets a discription of the feedback type. More... | |
subroutine | sxrem_ratio_write_auxiliary (this, iou, index, a_model) |
Write out auxiliary signal information to an output file. More... | |
Defines a feedback signal based on the temperature based on the ration of the soft x-ray emissivity profile. This signal feeds back the temperature profile at a specified positon.
class (sxrem_ratio_class) function, pointer sxrem_ratio::sxrem_ratio_construct | ( | real (rprec), dimension(3), intent(in) | x_cart, |
integer, dimension(2), intent(in) | indices | ||
) |
Construct a sxrem_ratio_class object.
Allocates memory and initializes a sxrem_ratio_class object.
[in] | x_cart | Radial position to feedback the soft x-ray emission from. |
[in] | indices | Indicies of the two cords. |
Definition at line 71 of file sxrem_ratio.f.
subroutine sxrem_ratio::sxrem_ratio_destruct | ( | type (sxrem_ratio_class), intent(inout) | this | ) |
Deconstruct a sxrem_ratio_class object.
Deallocates memory and uninitializes a sxrem_ratio_class object.
[in,out] | this | A sxrem_ratio_class instance. |
Definition at line 105 of file sxrem_ratio.f.
real (rprec) function, dimension(4) sxrem_ratio::sxrem_ratio_get_modeled_signal | ( | class (sxrem_ratio_class), intent(inout) | this, |
type (model_class), pointer | a_model, | ||
real (rprec), dimension(4), intent(out) | sigma, | ||
real (rprec), dimension(4), intent(in) | last_value | ||
) |
Calculates the modeled signal.
The modeled signal is the ratio of the soft x-ray emissivity profiles.
[in,out] | this | A sxrem_ratio_class instance. |
[in] | a_model | A model instance. |
[out] | sigma | The modeled sigma. |
[in] | last_value | Last good value in case the signal did not change. |
Definition at line 133 of file sxrem_ratio.f.
real (rprec) function sxrem_ratio::sxrem_ratio_get_observed_signal | ( | class (sxrem_ratio_class), intent(in) | this, |
type (model_class), intent(in) | a_model | ||
) |
Calculates the observed signal.
The observed signal is the ratio computed as the ratio as a function of the temperature.
[in] | this | A sxrem_ratio_class instance. |
[in] | a_model | A model instance. |
Definition at line 194 of file sxrem_ratio.f.
character (len=data_name_length) function sxrem_ratio::sxrem_ratio_get_type | ( | class (sxrem_ratio_class), intent(in) | this | ) |
Gets a discription of the feedback type.
Returns a description of the feedback type for use when writting output files.
[in] | this | A sxrem_ratio_class instance. |
Definition at line 227 of file sxrem_ratio.f.
subroutine sxrem_ratio::sxrem_ratio_write_auxiliary | ( | class (sxrem_ratio_class), intent(in) | this, |
integer, intent(in) | iou, | ||
integer, intent(in) | index, | ||
type (model_class), intent(in) | a_model | ||
) |
Write out auxiliary signal information to an output file.
Writes out the s_name and coefficient of the combined signals.
[in] | this | A sxrem_ratio_class instance. |
[in] | iou | A input/output representing the file to write to. |
[in] | index | A index of a signal. |
[in] | a_model | The equilibrium model. |
Definition at line 260 of file sxrem_ratio.f.