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

Remove obsolete pointer

parent def4e26e
No related branches found
No related tags found
No related merge requests found
......@@ -347,12 +347,11 @@ int main(int argc, char *argv[]) {
typedef TruncatedNonsmoothNewtonMultigrid<
MyBlockProblemType, NonlinearSmootherType> TNNMGStepType;
MyBlockProblemType *tnnmgProblem = myBlockProblem;
auto nonlinearSmoother = new NonlinearSmootherType;
auto multigridStep =
new TNNMGStepType(*linearIterationStep, *nonlinearSmoother);
multigridStep->setProblem(u4_diff, *tnnmgProblem);
multigridStep->setProblem(u4_diff, *myBlockProblem);
multigridStep->setSmoothingSteps(
parset.get<int>("solver.tnnmg.main.nu1"),
parset.get<int>("solver.tnnmg.main.mu"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment