- The deprecated variants of DoFTools::make_periodicity_constraints.
- BlockMatrixArray and BlockTrianglePreconditioner functions that
take an explicit VectorMemory object.
+ - The SolverSelector constructor that takes a VectorMemory argument.
<br>
This release also removes the deprecated class MGDoFHandler. The
functionality of this class had previously been incorporated into
*/
SolverSelector ();
- /**
- * @deprecated Use the default constructor, set_control() and select().
- *
- * Constructor. Use the arguments to initialize actual solver objects. The
- * VectorMemory argument is ignored.
- */
- SolverSelector (const std::string &solvername,
- SolverControl &control,
- VectorMemory<VECTOR> &vector_memory) DEAL_II_DEPRECATED;
-
/**
* Destructor
*/
{}
-template <class VECTOR>
-SolverSelector<VECTOR>::SolverSelector(const std::string &solver_name,
- SolverControl &control,
- VectorMemory<VECTOR> &) :
- control(&control),
- solver_name(solver_name)
-{}
-
-
template <class VECTOR>
SolverSelector<VECTOR>::~SolverSelector()
{}
u = 0.;
solver.solve(A, u, f, pre);
}
-
- //test deprecated constructor too:
- GrowingVectorMemory<VECTOR> mem;
- SolverSelector<VECTOR> solver2("gmres", mycont, mem);
- u = 0.;
- solver2.solve(A, u, f, pre);
}
DEAL:FGMRES::MySolverControl 0
DEAL:FGMRES::Starting value 0
DEAL:FGMRES::Convergence step 0 value 0
-DEAL:GMRES::MySolverControl 0
-DEAL:GMRES::Starting value 0
-DEAL:GMRES::Convergence step 0 value 0