![]() |
V3FIT
|
Defines the base class of the type ece_class. More...
Data Types | |
| interface | ece_class |
| Base class representing an ECE signal. More... | |
| type | ece_context |
| Structure to hold all memory needed to be sent to the callback function. More... | |
Functions/Subroutines | |
| class(ece_class) function, pointer | ece_construct (start_path, end_path, resonance) |
| Construct a ece_class object. More... | |
| subroutine | ece_destruct (this) |
| Deconstruct a ece_class object. More... | |
| real(rprec) function, dimension(4) | ece_get_modeled_signal (this, a_model, sigma, last_value) |
| Calculates the modeled signal. More... | |
| real(rprec) function, dimension(3) | ece_get_cart (this, a_model, found) |
| Calculates the signal measurement point. More... | |
| character(len=data_name_length) function | ece_get_type (this) |
| Gets a discription of the ece type. More... | |
| subroutine | ece_get_header (this, header) |
| Gets a discription of the model and model sigma array indices. More... | |
| real(rprec) function | ece_get_gp_i (this, a_model, i, flags) |
| Gets the guassian process kernel for an ece signal and a position. More... | |
| real(rprec) function | ece_get_gp_s (this, a_model, signal, flags) |
| Gets the guassian process kernel for a ece signal and a signal. More... | |
| real(rprec) function | ece_get_gp_x (this, a_model, x_cart, flags) |
| Gets the guassian process kernel for an ece signal and a cartesian position. More... | |
| logical function, private | ece_function (context, xcart1, xcart2) |
| ECE callback function. More... | |
| pure logical function, private | is_in_range (xp, x1, x2) |
| Check if values is in range. More... | |
Defines the base class of the type ece_class.
| class (ece_class) function, pointer ece::ece_construct | ( | real (rprec), dimension(3), intent(in) | start_path, |
| real (rprec), dimension(3), intent(in) | end_path, | ||
| real (rprec), intent(in) | resonance | ||
| ) |
| subroutine ece::ece_destruct | ( | type (ece_class), intent(inout) | this | ) |
|
private |
ECE callback function.
Returns true if the magnetic field resonance if found with in a specified range.
| [in] | context | A ece_context for the model. |
| [in] | xcart1 | The upper search point. |
| [in] | xcart2 | The lower search point. |
| real (rprec) function, dimension(3) ece::ece_get_cart | ( | class (ece_class), intent(in) | this, |
| type (model_class), pointer | a_model, | ||
| logical, intent(out) | found | ||
| ) |
Calculates the signal measurement point.
Calculates the ECE measurement point by searching along the chord for the resonance. The search criteria is provided by the ece_function.
| [in] | this | A ece_class instance. |
| [in] | a_model | A model instance. |
| [out] | found | Flag to indicate if the resonance was found. |
| real (rprec) function ece::ece_get_gp_i | ( | class (ece_class), intent(in) | this, |
| type (model_class), pointer | a_model, | ||
| integer, intent(in) | i, | ||
| integer, intent(in) | flags | ||
| ) |
Gets the guassian process kernel for an ece signal and a position.
Calculates the guassian process kernel between the signal and the position. Temperature kernels are provided by model::model_get_gp_te.
| [in] | this | A ece_class instance. |
| [in] | a_model | A model instance. |
| [in] | i | Index of the position for the kernel. |
| [in] | flags | State flags to send to the kernel. |
| real (rprec) function ece::ece_get_gp_s | ( | class (ece_class), intent(in) | this, |
| type (model_class), pointer | a_model, | ||
| class (signal_class), pointer | signal, | ||
| integer, intent(in) | flags | ||
| ) |
Gets the guassian process kernel for a ece signal and a signal.
Calculates the guassian process kernel between the signal and a signal. Calls back to the signal module to call the other signal.
| [in] | this | A ece_class instance. |
| [in] | a_model | A model instance. |
| [in] | signal | A signal_class instance for the second signal. |
| [in] | flags | State flags to send to the kernel. |
| real (rprec) function ece::ece_get_gp_x | ( | class (ece_class), intent(in) | this, |
| type (model_class), pointer | a_model, | ||
| real (rprec), dimension(3), intent(in) | x_cart, | ||
| integer, intent(in) | flags | ||
| ) |
Gets the guassian process kernel for an ece signal and a cartesian position.
Calculates the guassian process kernel between the signal and the position. Temperature kernels are provided by model::model_get_gp_te. This is the second signal so x_cart goes in the second position and this signal in the second.
| [in] | this | A ece_class instance. |
| [in] | a_model | A model instance. |
| [in] | x_cart | The cartesian position of to get the kernel at. |
| [in] | flags | State flags to send to the kernel. |
| subroutine ece::ece_get_header | ( | class (ece_class), intent(in) | this, |
| character (len=data_name_length), dimension(7), intent(inout) | header | ||
| ) |
Gets a discription of the model and model sigma array indices.
Returns a description of the array indices for use when writting output files.
| [in] | this | A ece_class instance. |
| [in,out] | header | Buffer arrays to write header strings to. |
| real (rprec) function, dimension(4) ece::ece_get_modeled_signal | ( | class (ece_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.
Calculates the ECE signal by searching along the chord for the resonance. The search criteria is provided by the ece_function.
| [in,out] | this | A ece_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. |
| character (len=data_name_length) function ece::ece_get_type | ( | class (ece_class), intent(in) | this | ) |
|
private |
1.8.17