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

Rename: u_old_old -> u_old_old_ptr

parent 09961b45
Branches
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ int main(int argc, char *argv[]) {
VectorType problem_rhs(finestSize);
VectorType problem_iterate(finestSize);
VectorType *u_old_old = (run == 1) ? nullptr : &u_previous;
VectorType *u_old_old_ptr = (run == 1) ? nullptr : &u_previous;
typedef TimeSteppingScheme<VectorType, MatrixType,
decltype(dirichletFunction), dim> TS;
......@@ -269,11 +269,11 @@ int main(int argc, char *argv[]) {
Dune::shared_ptr<TS> timeSteppingScheme;
if (run == 1 || !parset.get<bool>("implicitTwoStep"))
timeSteppingScheme =
Dune::make_shared<IE>(ell, stiffnessMatrix, u, u_old_old,
Dune::make_shared<IE>(ell, stiffnessMatrix, u, u_old_old_ptr,
ignoreNodes, dirichletFunction, time, tau);
else
timeSteppingScheme =
Dune::make_shared<ITS>(ell, stiffnessMatrix, u, u_old_old,
Dune::make_shared<ITS>(ell, stiffnessMatrix, u, u_old_old_ptr,
ignoreNodes, dirichletFunction, time, tau);
timeSteppingScheme->setup(problem_rhs, problem_iterate, problem_A);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment