Skip to content
Snippets Groups Projects
Commit e1bd4a83 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed initialization of pointers in SemiImplicitTimeStepper

parent c0eb4660
No related branches found
No related tags found
1 merge request!5Decoupling linear solvers from PDE solvers
......@@ -70,18 +70,18 @@ class SemiImplicitTimeStepper
protected:
// raw pointers with setters
Problem* problem = nullptr;
SolverMonitorType* solverMonitor = nullptr;
MatrixPointer matrix = nullptr;
DofVectorPointer rightHandSidePointer = nullptr;
// smart pointers initialized to the default-created objects
MatrixPointer matrix;
DofVectorPointer rightHandSidePointer;
// uninitialized smart pointers (they are initialized in the setup method)
LinearSolverPointer linearSystemSolver = nullptr;
PreconditionerPointer preconditioner = nullptr;
SolverMonitorType* solverMonitor = nullptr;
RealType timeStep = 0.0;
Timer preIterateTimer, linearSystemAssemblerTimer, preconditionerUpdateTimer, linearSystemSolverTimer, postIterateTimer;
......
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