Enum Class TransientPipe.BoundaryCondition

java.lang.Object
java.lang.Enum<TransientPipe.BoundaryCondition>
neqsim.process.equipment.pipeline.twophasepipe.TransientPipe.BoundaryCondition
All Implemented Interfaces:
Serializable, Comparable<TransientPipe.BoundaryCondition>, Constable
Enclosing class:
TransientPipe

public static enum TransientPipe.BoundaryCondition extends Enum<TransientPipe.BoundaryCondition>
Boundary condition types for inlet and outlet. Specifies how the boundary conditions are handled at the pipe inlet and outlet. Example:
pipe.setInletBoundaryCondition(BoundaryCondition.CONSTANT_FLOW);
pipe.setOutletBoundaryCondition(BoundaryCondition.CONSTANT_PRESSURE);
pipe.setInletMassFlow(5.0); // kg/s
pipe.setOutletPressure(30.0); // bara
Version:
1.0
Author:
Even Solbraa
  • Enum Constant Details

  • Constructor Details

    • BoundaryCondition

      private BoundaryCondition()
  • Method Details

    • values

      public static TransientPipe.BoundaryCondition[] 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 TransientPipe.BoundaryCondition 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