constraint_eqn_010 Subroutine

public subroutine constraint_eqn_010(tmp_cc, tmp_con, tmp_err, tmp_symbol, tmp_units)

Equation for field at TF coil This is a consistency equation (do not use for stellarators) #=# tfcoil #=#=# consistency rmajor | plasma major radius (m) bt | toroidal field on axis (T) rbmax | radius of maximum toroidal field (m) bmaxtf | peak field at toroidal field coil (T)

This constraint is depreciated

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(out) :: tmp_cc
real(kind=dp), intent(out) :: tmp_con
real(kind=dp), intent(out) :: tmp_err
character(len=1), intent(out) :: tmp_symbol
character(len=10), intent(out) :: tmp_units

Constraints output


Contents

Source Code


Source Code

   subroutine constraint_eqn_010(tmp_cc, tmp_con, tmp_err, tmp_symbol, tmp_units)
      !! author: P B Lloyd, CCFE, Culham Science Centre
      !! Equation for field at TF coil
      !! This is a consistency equation
      !! (do not use for stellarators)
      !! #=# tfcoil
      !! #=#=# consistency
      !! rmajor |  plasma major radius (m)
      !! bt     |  toroidal field on axis (T)
      !! rbmax  |  radius of maximum toroidal field (m)
      !! bmaxtf |  peak field at toroidal field coil (T)

      !! This constraint is depreciated

      implicit none

            real(dp), intent(out) :: tmp_cc
      real(dp), intent(out) :: tmp_con
      real(dp), intent(out) :: tmp_err
      character(len=1), intent(out) :: tmp_symbol
      character(len=10), intent(out) :: tmp_units
      !! Constraints output

      ! This constraint is depreciated
      call report_error(236)

      tmp_con = 1.0D0
      tmp_err = 0.0D0
      tmp_symbol = '='
      tmp_units = ''

   end subroutine constraint_eqn_010