constraint_eqn_084 Subroutine

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

Equation for the lower limit of beta author: J Lion, IPP Greifswald args : output structure : residual error; constraint value; residual error in physical units; output string; units string (beta-beta_fast_alpha) > beta_min #=# physics #=#=# beta_fast_alpha, beta, fbeta_min Logic change during pre-factoring: err, symbol, units will be assigned only if present. fbeta_min : input real : f-value for constraint beta-beta_fast_alpha > beta_min beta_min : input real : Lower limit for beta beta : input real : plasma beta

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

Contents

Source Code


Source Code

   subroutine constraint_eqn_084(tmp_cc, tmp_con, tmp_err, tmp_symbol, tmp_units)
      !! Equation for the lower limit of beta
      !! author: J Lion, IPP Greifswald
      !! args : output structure : residual error; constraint value;
      !! residual error in physical units; output string; units string
      !!  (beta-beta_fast_alpha) > beta_min
      !! #=# physics
      !! #=#=# beta_fast_alpha, beta, fbeta_min
      !! Logic change during pre-factoring: err, symbol, units will be assigned only if present.
      !! fbeta_min : input real : f-value for constraint beta-beta_fast_alpha > beta_min
      !! beta_min : input real :  Lower limit for beta
      !! beta : input real :  plasma beta

      use physics_variables, only: beta_min, beta
      use constraint_variables, only: fbeta_min
      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


      tmp_cc = 1.0D0 - fbeta_min * (beta)/beta_min
      tmp_con = beta_min * (1.0D0 - tmp_cc)
      tmp_err = (beta) * tmp_cc
      tmp_symbol = '>'
      tmp_units = ''


   end subroutine constraint_eqn_084