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

Add updateTerm

parent dad91c4b
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,10 @@ int main() { ...@@ -193,6 +193,10 @@ int main() {
leafView, p1Basis, neumannNodes, neumannTerm); leafView, p1Basis, neumannNodes, neumannTerm);
f += neumannTerm; f += neumannTerm;
VectorType updateTerm(grid.size(grid.maxLevel(), dim));
stiffnessMatrix.mv(u1, updateTerm);
f += updateTerm;
// {{{ Assemble terms for the nonlinearity // {{{ Assemble terms for the nonlinearity
// TODO: Random value // TODO: Random value
std::vector<double> normalStress; std::vector<double> normalStress;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment