Skip to content
Snippets Groups Projects
Commit d31b3f65 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Nuke a TODO

We use lumping for the nonlinearity, thus we only have diagonal entries
parent ecc86d92
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,6 @@ class GlobalNonlinearity {
virtual shared_ptr<LocalNonlinearity<dim> const> restriction(int i) const = 0;
void addHessian(VectorType const &v, MatrixType &hessian) const {
// TODO: is this correct?
for (size_t i = 0; i < v.size(); ++i) {
auto const res = restriction(i);
res->addHessian(v[i], hessian[i][i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment