Stellarator-Tools
|
Base class representing a parameterized profile. More...
Public Member Functions | |
PROCEDURE | get_value => pprofile_get_value |
PROCEDURE | get_p_type_name => pprofile_get_p_type_name |
PROCEDURE | get_gp_ij => pprofile_get_gp_ij |
PROCEDURE | get_gp_pi => pprofile_get_gp_pi |
PROCEDURE | get_gp_pp => pprofile_get_gp_pp |
GENERIC | get_gp => get_gp_ij, get_gp_pi, get_gp_pp |
PROCEDURE | get_gp_num_hyper_param => pprofile_get_gp_num_hyper_param |
PROCEDURE | write => pprofile_write |
PROCEDURE | save_state => pprofile_save_state |
PROCEDURE | reset_state => pprofile_reset_state |
FINAL | pprofile_destruct |
type(pprofile_class) function, pointer | pprofile_construct (p_type, b, as, af) |
Construct a pprofile_class. More... | |
Public Attributes | |
integer | p_type = pprofile_none_type |
Parameterized profile type. | |
real(rprec), dimension(ilb_b:iub_b) | b = 0.0 |
Array of coefficients for the functional profiles. | |
real(rprec), dimension(:), pointer | as => null() |
Array of radial position values for the segmented profiles. | |
real(rprec), dimension(:), pointer | af => null() |
Array of profile values for the segmented profiles. | |
integer | maxsplineindex = 1 |
Index of the last segemented value. | |
real(rprec), dimension(:), pointer | cache => null() |
Cached value of the af array. | |
real(rprec), dimension(:), pointer | cache_hyper => null() |
Cached value of the af array. | |
Base class representing a parameterized profile.
Interface for sxrem ti constructor.
type (pprofile_class) function, pointer pprofile_t::pprofile_class::pprofile_construct | ( | character (len=*), intent(in) | p_type, |
real(rprec), dimension(:), intent(in) | b, | ||
real(rprec), dimension(:), intent(in) | as, | ||
real(rprec), dimension(:), intent(in) | af | ||
) |
Construct a pprofile_class.
Allocates memory and initializes a pprofile_class.
[in] | p_type | Profile type discription. |
[in] | b | Array of functional profile coefficients |
[in] | as | Array of segmented radial positions. |
[in] | af | Array of segmented profile values. |