Stellarator-Tools
pprofile_t::pprofile_class Interface Reference

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.
 

Detailed Description

Base class representing a parameterized profile.

Interface for sxrem ti constructor.

Member Function/Subroutine Documentation

◆ pprofile_construct()

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.

Parameters
[in]p_typeProfile type discription.
[in]bArray of functional profile coefficients
[in]asArray of segmented radial positions.
[in]afArray of segmented profile values.
Returns
A pointer to a constructed pprofile_class object.

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