* set the number of temporary
* vectors to 30.
*/
- AdditionalData(const unsigned int max_n_tmp_vectors=30):
+ AdditionalData(const unsigned int max_n_tmp_vectors = 30)
+ :
max_n_tmp_vectors(max_n_tmp_vectors)
{};
* Solver method.
*/
template<class MATRIX, class PRECONDITIONER>
- typename Solver<VECTOR>::ReturnState solve (const MATRIX &A,
- VECTOR &x,
- const VECTOR &b,
- const PRECONDITIONER& precondition);
+ typename Solver<VECTOR>::ReturnState solve (const MATRIX &A,
+ VECTOR &x,
+ const VECTOR &b,
+ const PRECONDITIONER &precondition);
DeclException1 (ExcTooFewTmpVectors,
int,
deallog.push("GMRES");
- const unsigned int n_tmp_vectors = (additional_data.max_n_tmp_vectors);
+ const unsigned int n_tmp_vectors = additional_data.max_n_tmp_vectors;
// allocate an array of n_tmp_vectors
// temporary vectors from the VectorMemory