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
Branches
Tags
No related merge requests found
...@@ -347,12 +347,11 @@ int main(int argc, char *argv[]) { ...@@ -347,12 +347,11 @@ int main(int argc, char *argv[]) {
typedef TruncatedNonsmoothNewtonMultigrid< typedef TruncatedNonsmoothNewtonMultigrid<
MyBlockProblemType, NonlinearSmootherType> TNNMGStepType; MyBlockProblemType, NonlinearSmootherType> TNNMGStepType;
MyBlockProblemType *tnnmgProblem = myBlockProblem;
auto nonlinearSmoother = new NonlinearSmootherType; auto nonlinearSmoother = new NonlinearSmootherType;
auto multigridStep = auto multigridStep =
new TNNMGStepType(*linearIterationStep, *nonlinearSmoother); new TNNMGStepType(*linearIterationStep, *nonlinearSmoother);
multigridStep->setProblem(u4_diff, *tnnmgProblem); multigridStep->setProblem(u4_diff, *myBlockProblem);
multigridStep->setSmoothingSteps( multigridStep->setSmoothingSteps(
parset.get<int>("solver.tnnmg.main.nu1"), parset.get<int>("solver.tnnmg.main.nu1"),
parset.get<int>("solver.tnnmg.main.mu"), 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