anchor.diff:    use mathlib_bouncer
     use numerical_constants
     use physical_constants
  -  use crcoall
     use mod_common
     use mod_settings
     use string_tools
  
positive.code: !  Last modified: 2019-02-25
  ! ================================================================================================ !
  subroutine cheby_parseInputLine(inLine, iLine, iErr)
    implicit none
  
    character(len=*), intent(in)    :: inLine
    integer,          intent(in)    :: iLine
    logical,          intent(inout) :: iErr
  end subroutine cheby_parseInputLine
  
  
  
negative.code: 
    ! variables to save parameters for tracking etc.
    integer, save          :: cheby_itable(ncheby)=0         ! index of chebyshev table
    real(kind=fPrec), save :: cheby_r2(ncheby)     = zero    ! outer radius R2 [mm] (optional)
    real(kind=fPrec), save :: cheby_r1(ncheby)     = zero    ! inner radius R1 [mm] (optional)
    real(kind=fPrec), save :: cheby_angle(ncheby)=zero       ! rotation angle about the longitudinal axis [rad] (optional)
    real(kind=fPrec), save :: cheby_offset_x(ncheby)=zero    ! hor. offset [mm] (optional)
    real(kind=fPrec), save :: cheby_offset_y(ncheby)=zero    ! ver. offset [mm] (optional)
    real(kind=fPrec), save :: cheby_L(ncheby)=-one           ! actual length of (thick) lens [m] (optional)
    real(kind=fPrec), save :: cheby_I(ncheby)=-one           ! actual powering of lens [A] (optional)
    real(kind=fPrec), save :: cheby_scalingFact(ncheby)=one  ! scaling factor [] (computed internally)
  
    ! tables with chebyshev coefficients
    integer, parameter     :: cheby_max_order=30             ! max order of chebyshev polynomials currently supported
    character(len=mFNameLen), save:: cheby_filename(ncheby_tables) = " "! file names
    real(kind=fPrec), save :: cheby_coeffs(0:cheby_max_order,0:cheby_max_order,ncheby_tables) = zero ! coefficients
    integer, save          :: cheby_maxOrder(ncheby_tables)  = 0    ! max order of the current map
    real(kind=fPrec), save :: cheby_refI(ncheby_tables) = one  ! reference current [A] (optional)
    real(kind=fPrec), save :: cheby_refR(ncheby_tables) = zero ! reference radius [mm] (mandatory)
    real(kind=fPrec), save :: cheby_refL(ncheby_tables) = one  ! reference length [m]  (optional)
  
  contains
  
  