LION
 All Classes Files Functions Variables Pages
antenna_tools Module Reference

antennas_tools - Routines to map the CPO antennas to antenna parameterizations More...

Public Member Functions

subroutine set_global_antenna_param (antenna_ic, equilibrium, WNTOR, FEEDER_TILT, ierror)
 set_global_antenna_param More...
 
subroutine antenna_position (antenna_ic, equilibrium, distance_antenna_axis, distance_wall_axis, theta1, theta2, aminor)
 antenna_position: More...
 
real(rkind) function canonicalangle (in, periodicity)
 
real(rkind) function,
dimension(size(in)) 
canonicalangle_vec (in, periodicity)
 
subroutine print_commonblock_antenna (iounit)
 

Public Attributes

real(rkind), parameter min_wall_ant_distance_norm = 0.02_RKIND
 

Detailed Description

antennas_tools - Routines to map the CPO antennas to antenna parameterizations

Author
Thomas Johnson
Date
20130302

Member Function/Subroutine Documentation

subroutine antenna_tools::antenna_position ( type(ids_ic_antennas), intent(in)  antenna_ic,
type(ids_equilibrium), intent(in)  equilibrium,
real(rkind), intent(out)  distance_antenna_axis,
real(rkind), intent(out)  distance_wall_axis,
real(rkind), intent(out)  theta1,
real(rkind), intent(out)  theta2,
real(rkind), intent(out)  aminor 
)

antenna_position:

Simplified antenna parameterization. The distances between the magnetic axis and the antenna/wall are both calculated at the minimum axis-antennas distance (considering points on each of the antenna-straps). Also returns the minor radius aminor.

Parameters
[in]equilibriumEquilibrium-CPO
[in]antenna_icIC-structure from the antennas-CPO
[out]distance_antenna_axisMinimum distance between the magnetic axis and the antenna
[out]distance_wall_axisSum of distance_antenna_axis and antenna-wall distance
[out]theta1Geometrical poloidal angle at the bottom corner of the antenna
[out]theta2Geometrical poloidal angle at the top corner of the antenna
[out]aminorMinor radius

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

real(rkind) function antenna_tools::canonicalangle ( real(rkind)  in,
real(rkind)  periodicity 
)

+ Here is the caller graph for this function:

real(rkind) function, dimension(size(in)) antenna_tools::canonicalangle_vec ( real(rkind), dimension(:)  in,
real(rkind)  periodicity 
)

+ Here is the caller graph for this function:

subroutine antenna_tools::print_commonblock_antenna ( integer, intent(in)  iounit)
subroutine antenna_tools::set_global_antenna_param ( type(ids_ic_antennas), intent(in)  antenna_ic,
type(ids_equilibrium), intent(in)  equilibrium,
real(rkind), intent(in)  WNTOR,
real(rkind), intent(in)  FEEDER_TILT,
integer, intent(out)  ierror 
)

set_global_antenna_param

Fills the antenna parameters in LION_common To map detailed antenna geometry in CPO to the simpler geometry used in LION, the routine "antenna_position" is used.

Parameters
[in]equilibriumEquilibrium-CPO
[in]antenna_icIC-structure from the antennas-CPO
[in]wntorToroidal mode number
[in]feeder_tiltThe tilt of the feeder given as the difference in poloidal (in degrees) where the feeder join the strap and where it joins the wall.
[out]ierrorError flag. For no error: ierror==0

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

real(rkind), parameter antenna_tools::min_wall_ant_distance_norm = 0.02_RKIND

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