- java.lang.Object
-
- com.powsybl.openloadflow.equations.AbstractVector<V,E>
-
- com.powsybl.openloadflow.equations.EquationVector<V,E>
-
- All Implemented Interfaces:
StateVectorListener
,Vector
,AutoCloseable
public class EquationVector<V extends Enum<V> & Quantity,E extends Enum<E> & Quantity> extends AbstractVector<V,E> implements StateVectorListener, AutoCloseable
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
-
Fields inherited from class com.powsybl.openloadflow.equations.AbstractVector
equationSystem
-
-
Constructor Summary
Constructors Constructor Description EquationVector(EquationSystem<V,E> equationSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected double[]
createArray()
void
onStateUpdate()
protected void
updateArray(double[] array)
-
Methods inherited from class com.powsybl.openloadflow.equations.AbstractVector
getArray, invalidateValues, invalidateVector, minus, validate
-
-
-
-
Constructor Detail
-
EquationVector
public EquationVector(EquationSystem<V,E> equationSystem)
-
-
Method Detail
-
onStateUpdate
public void onStateUpdate()
- Specified by:
onStateUpdate
in interfaceStateVectorListener
-
createArray
protected double[] createArray()
- Specified by:
createArray
in classAbstractVector<V extends Enum<V> & Quantity,E extends Enum<E> & Quantity>
-
updateArray
protected void updateArray(double[] array)
- Specified by:
updateArray
in classAbstractVector<V extends Enum<V> & Quantity,E extends Enum<E> & Quantity>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-