V3FIT
Public Member Functions | Public Attributes | List of all members
limiter_iso_t::limiter_iso_class Interface Reference

Base class representing a limiter_iso function. More...

Inheritance diagram for limiter_iso_t::limiter_iso_class:
limiter::limiter_class signal::signal_class

Public Member Functions

PROCEDURE get_max_fval => limiter_iso_get_max_fval
 
PROCEDURE get_type => limiter_iso_get_type
 
PROCEDURE get_value => limiter_iso_get_value
 
FINAL limiter_iso_destruct
 
class(limiter_iso_class) function, pointer limiter_iso_construct (arz, rc, zc, numin, vgrid, on_edge)
 Construct a limiter iso function. More...
 
- Public Member Functions inherited from limiter::limiter_class
PROCEDURE get_modeled_signal_last => limiter_get_modeled_signal
 
PROCEDURE get_header => limiter_get_header
 
PROCEDURE get_type => limiter_get_type
 
PROCEDURE get_max_fval => limiter_get_max_fval
 
- Public Member Functions inherited from signal::signal_class
PROCEDURE get_modeled_signal_cache => signal_get_modeled_signal_cache
 
PROCEDURE get_modeled_signal_last => signal_get_modeled_signal_last
 
GENERIC get_modeled_signal => get_modeled_signal_cache, get_modeled_signal_last
 
PROCEDURE get_observed_signal => signal_get_observed_signal
 
PROCEDURE get_g2 => signal_get_g2
 
PROCEDURE get_e => signal_get_e
 
PROCEDURE get_sigma2 => signal_get_sigma2
 
PROCEDURE get_type => signal_get_type
 
PROCEDURE get_header => signal_get_header
 
PROCEDURE get_gp_i => signal_get_gp_i
 
PROCEDURE get_gp_s => signal_get_gp_s
 
PROCEDURE get_gp_x => signal_get_gp_x
 
GENERIC get_gp => get_gp_i, get_gp_s, get_gp_x
 
PROCEDURE scale_and_offset => signal_scale_and_offset
 
PROCEDURE sync_child => signal_sync_child
 
PROCEDURE write_header => signal_write_header
 
PROCEDURE write => signal_write
 
PROCEDURE write_auxiliary => signals_write_auxiliary
 
PROCEDURE write_step_data => signal_write_step_data
 
FINAL signal_destruct
 

Public Attributes

real(rprec), dimension(0:4, 0:4) arz
 Coefficients for the iso function.
 
real(rprec) rc
 R offset for function.
 
real(rprec) zc
 Z offset for function.
 
integer numin
 Minimum number of poloidal angles for s=1 surface.
 
- Public Attributes inherited from limiter::limiter_class
logical on_edge = .false.
 If true, the reconstruction tries to place the edge on the limiter. Otherwise, the plasma edge is kept inside the limiter.
 
real(rprec), dimension(:), pointer phi => null()
 Limiter phi planes the limiters are defined at.
 
- Public Attributes inherited from signal::signal_class
character(len=data_short_name_length) s_name
 Short name of the signal.
 
character(len=data_name_length) l_name
 Long name of the signal.
 
character(len=data_short_name_length) units
 Physical units the signal measures.
 
real(rprec) observed
 Eperimentally measured signal value.
 
real(rprec) observed_sigma
 Eperimentally measured signal uncertainty.
 
real(rprec) weight
 Weighting parameter of the signal.
 
real(rprec), dimension(4) modeled
 Cached value of the modeled signal.
 
real(rprec), dimension(4) modeled_sigma
 Cached value of the modeled sigma.
 
integer scale_index
 Scale factor index.
 
integer offset_index
 Offset factor index.
 

Detailed Description

Base class representing a limiter_iso function.

Interface for iso contour limiter constructor.

1) Limiter iso: limiter_iso Contains the data to define a scalar function of position, so that the iso-contour f=0 of the function corresponds to a geometric limit to the plasma. Also contains data to specify the minimum number poloidal points on the s=1 surface to use, and the toroidal planes on which to s=1 surface will be evaluated

Second attempt:

e = SUM_over_i(0,4)_j(0,4) [arz(i,j) (r - rc)^i (z - zc)^j] f = e / |grad(e)|

  1. For now, axisymmetric
  2. Easy to put in circles, ellipses, and planes
  3. Function f is approximately distance.

Definition at line 43 of file limiter_iso_T.f.

Member Function/Subroutine Documentation

◆ limiter_iso_construct()

class (limiter_iso_class) function, pointer limiter_iso_t::limiter_iso_class::limiter_iso_construct ( real (rprec), dimension(0:4,0:4), intent(in)  arz,
real (rprec), intent(in)  rc,
real (rprec), intent(in)  zc,
integer, intent(in)  numin,
real (rprec), dimension(:), intent(in)  vgrid,
logical, intent(in)  on_edge 
)

Construct a limiter iso function.

Allocates memory and initializes a limiter_iso object.

Parameters
[in]arzCoefficients for the iso function.
[in]rcR offset for function.
[in]zcZ offset for function.
[in]numinMinimum number of poloidal angles for s=1 surface.
[in]vgridValues of toroidal angle at which to compute s=1 surface.
[in]on_edgeSpecifies if the edge should touch the limiter or not. If true, the reconstruction tries to have the limiter touch the limiter. If false, the edge will only just fall inside the limiter.
Returns
A pointer to a constructed limiter_iso object.

Definition at line 93 of file limiter_iso_T.f.


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