Skip to content
Snippets Groups Projects
Commit 5744d61c authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/ST] Correct placement of testfunction.

parent 448ff37e
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
N))}; N))};
auto const st_val = _volumetric_source_term(t, pos)[0]; auto const st_val = _volumetric_source_term(t, pos)[0];
_local_rhs.noalias() += st_val * w * N; _local_rhs.noalias() += N.transpose() * st_val * w;
} }
auto const indices = NumLib::getIndices(id, source_term_dof_table); auto const indices = NumLib::getIndices(id, source_term_dof_table);
b.add(indices, _local_rhs); b.add(indices, _local_rhs);
......
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