Class MadxVaryParameterImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double getLower()
      Lower limit for the parameter (optional)
      MadxParameter getMadxParameter()  
      java.lang.String getName()
      returns the name of the parameter.
      java.lang.Double getStep()
      The approximate initial step size for varying the parameter.
      java.lang.Double getUpper()
      Upper limit for the parameter (optional).
      void setLower​(java.lang.Double lower)  
      void setStep​(java.lang.Double step)  
      void setUpper​(java.lang.Double upper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MadxVaryParameterImpl

        public MadxVaryParameterImpl​(MadxParameter parameter)
    • Method Detail

      • setStep

        public void setStep​(java.lang.Double step)
      • setLower

        public void setLower​(java.lang.Double lower)
      • setUpper

        public void setUpper​(java.lang.Double upper)
      • getName

        public java.lang.String getName()
        Description copied from interface: MadxVaryParameter
        returns the name of the parameter. This can be e.g. a name of a strength or the attribute of an element (e.g. MCIAH->kick)
        Specified by:
        getName in interface MadxVaryParameter
        Returns:
        the (madx) name of the parameter to vary
      • getLower

        public java.lang.Double getLower()
        Description copied from interface: MadxVaryParameter
        Lower limit for the parameter (optional)
        Specified by:
        getLower in interface MadxVaryParameter
        Returns:
        the lower limit or null if not set
      • getStep

        public java.lang.Double getStep()
        Description copied from interface: MadxVaryParameter
        The approximate initial step size for varying the parameter. If the step is not entered, MAD tries to find a reasonable step, but this may not always work.
        Specified by:
        getStep in interface MadxVaryParameter
        Returns:
        the step to use.
      • getUpper

        public java.lang.Double getUpper()
        Description copied from interface: MadxVaryParameter
        Upper limit for the parameter (optional).
        Specified by:
        getUpper in interface MadxVaryParameter
        Returns:
        the upper limit or null if not set