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

Remove unused argument

parent f3a6f815
No related branches found
No related tags found
No related merge requests found
......@@ -23,15 +23,13 @@ class MyConvexProblem {
*/
MyConvexProblem(MatrixType const &A,
Dune::GlobalNonlinearity<block_size> const &phi,
VectorType const &f, VectorType &u)
: A(A), phi(phi), f(f), u(u) {};
VectorType const &f)
: A(A), phi(phi), f(f) {};
MatrixType const &A;
Dune::GlobalNonlinearity<block_size> const &phi;
VectorType const &f;
VectorType &u;
};
#endif
......@@ -333,7 +333,7 @@ int main(int argc, char *argv[]) {
if (parset.get<bool>("solver.nonlineargs.use")) {
MyConvexProblemType myConvexProblem(stiffnessMatrix,
*myGlobalNonlinearity, b1, u1_diff);
*myGlobalNonlinearity, b1);
MyBlockProblemType myBlockProblem(parset, myConvexProblem);
nonlinearGSStep.setProblem(u1_diff, myBlockProblem);
......@@ -348,7 +348,7 @@ int main(int argc, char *argv[]) {
if (parset.get<bool>("solver.tnnmg.use")) {
MyConvexProblemType myConvexProblem(stiffnessMatrix,
*myGlobalNonlinearity, b4, u4_diff);
*myGlobalNonlinearity, b4);
MyBlockProblemType myBlockProblem(parset, myConvexProblem);
multigridStep.setProblem(u4_diff, myBlockProblem);
......
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