Package com.powsybl.openloadflow.ac.nr
Enum NewtonRaphsonStatus
- java.lang.Object
-
- java.lang.Enum<NewtonRaphsonStatus>
-
- com.powsybl.openloadflow.ac.nr.NewtonRaphsonStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<NewtonRaphsonStatus>
public enum NewtonRaphsonStatus extends Enum<NewtonRaphsonStatus>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVERGED
MAX_ITERATION_REACHED
NO_CALCULATION
SOLVER_FAILED
UNREALISTIC_STATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NewtonRaphsonStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static NewtonRaphsonStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERGED
public static final NewtonRaphsonStatus CONVERGED
-
MAX_ITERATION_REACHED
public static final NewtonRaphsonStatus MAX_ITERATION_REACHED
-
SOLVER_FAILED
public static final NewtonRaphsonStatus SOLVER_FAILED
-
NO_CALCULATION
public static final NewtonRaphsonStatus NO_CALCULATION
-
UNREALISTIC_STATE
public static final NewtonRaphsonStatus UNREALISTIC_STATE
-
-
Method Detail
-
values
public static NewtonRaphsonStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NewtonRaphsonStatus c : NewtonRaphsonStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NewtonRaphsonStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-