Skip to content
Snippets Groups Projects
Commit 7617b8f9 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

I suspect that I swapped to indices when computing the gradient

of Neumann boundary forces.  But I am not sure and I want to
postpone the issue.  Therefore this patch adds a cpp warning.

[[Imported from SVN: r8625]]
parent 121bec69
No related branches found
No related tags found
No related merge requests found
......@@ -875,6 +875,7 @@ assembleGradient(const Entity& element,
// Only translational dofs are affected by the Neumann force
for (size_t v_i=0; v_i<3; v_i++)
for (size_t j=0; j<3; j++)
#warning Try whether the arguments of derOfValueWRTCoefficient are swapped
embeddedLocalGradient[i][v_i] += thickness_ * (neumannValue[j] * derOfValueWRTCoefficient[j][v_i]) * quad[pt].weight() * integrationElement;
}
......
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