[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] 3b6c2f: let CreateLocalConstRefs[] handle DependenceNums

GitHub noreply at github.com
Sun Oct 4 12:46:14 BST 2015


  Branch: refs/heads/development
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: 3b6c2f8b0e415501aa57caf107e978327e7c5f33
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/3b6c2f8b0e415501aa57caf107e978327e7c5f33
  Author: Alexander Voigt <Alexander.Voigt at desy.de>
  Date:   2015-10-04 (Sun, 04 Oct 2015)

  Changed paths:
    M meta/Parameters.m

  Log Message:
  -----------
  let CreateLocalConstRefs[] handle DependenceNums

If an expression contain a symbol (not a function!) that has a
DependenceNum, the CreateLocalConstRefs[] function creates a local
const reference for the symbol.

For example for ThetaW in the expression

   g1 ThetaW + g2 ThetaW

a local const ref will be created.  However, for the expression

   g1 ThetaW[] + g2 ThetaW[]

no local const ref will be created, because ThetaW[] is a function.




More information about the Flexiblesusy-commits mailing list