Ejemplo n.º 1
0
  @Override
  public void applyDC(DCEquation equation) {
    equation.applyMatrixStamp(currentOutIndex, nPlus, 1);
    equation.applyMatrixStamp(currentOutIndex, nMinus, -1);
    equation.applyMatrixStamp(currentOutIndex, dummySource.getCurrentVarIndex(), -gm);

    equation.applyMatrixStamp(nPlus, currentOutIndex, 1);
    equation.applyMatrixStamp(nMinus, currentOutIndex, -1);
  }