Enum Class PortToThroatAreaWarning

java.lang.Object
java.lang.Enum<PortToThroatAreaWarning>
com.github.jbgust.jsrm.application.result.PortToThroatAreaWarning
All Implemented Interfaces:
Serializable, Comparable<PortToThroatAreaWarning>, Constable

public enum PortToThroatAreaWarning extends Enum<PortToThroatAreaWarning>
Port/Throat Area warning : If it drops below 1.0 you will have a DANGER indicator. If Port/Throat Area drops below 2.0 you will have a WARNING indicator. Else return NORMAL indicator Enlarging the core on the nozzle-end grain is a good way to solve this problem. Except for extreme L/D ratio motors, no part of the core should be less than the diameter of the nozzle throat.
  • Enum Constant Details

  • Method Details

    • values

      public static PortToThroatAreaWarning[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PortToThroatAreaWarning valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromPortToThroat

      public static PortToThroatAreaWarning fromPortToThroat(double portToThroatArea)