Commit fc3d4a5f authored by akbib's avatar akbib Committed by akbib@FU-BERLIN.DE
Browse files

loop over the size of the basis

[[Imported from SVN: r10490]]
parent 1ac3ef4f
......@@ -379,7 +379,7 @@ computeEnergy(const BlockVector<FieldVector<double, dim> >& sol) const
defGrad[i][j] = 0;
for (int k=0; k<localFE.localBasis(); k++)
for (int k=0; k<localFE.localBasis().size(); k++)
defGrad[i][j] += localSolution[k][i]*shape_grads[k][0][j];
}
......
Markdown is supported
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