Commit 76fe101c authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

error in PolarizationField corrected

parent a7bdbdfa
......@@ -136,7 +136,7 @@ void PolarizationField<P>::fillOperators()
for (size_t j = 0; j < self::dow; ++j) {
Operator *opNonlin2 = new Operator(feSpace, feSpace);
addZOT(opNonlin2, (-2.0*epsInv) * valueOf(vec[i]) * valueOf(vec[j]));
self::prob->addMatrixOperator(*opNonlin, i+self::dow, j);
self::prob->addMatrixOperator(*opNonlin2, i+self::dow, j);
Operator *opNonlin3 = new Operator(feSpace, feSpace);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment