Skip to content

Commit

Permalink
Cleanup of SolverGMRES and SolverFGMRES implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
kronbichler committed Mar 12, 2024
1 parent 26e124a commit d097676
Show file tree
Hide file tree
Showing 24 changed files with 408 additions and 409 deletions.
2 changes: 1 addition & 1 deletion examples/step-12/step-12.cc
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ namespace Step12
SolverControl solver_control(1000, 1e-6 * right_hand_side.l2_norm());

SolverGMRES<Vector<double>>::AdditionalData additional_data;
additional_data.max_n_tmp_vectors = 100;
additional_data.max_basis_size = 100;
SolverGMRES<Vector<double>> solver(solver_control, additional_data);

// Here we create the preconditioner,
Expand Down
2 changes: 1 addition & 1 deletion examples/step-22/doc/results.dox
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ $k=100$ temporary vectors:
1e-6*system_rhs.l2_norm());
GrowingVectorMemory<BlockVector<double> > vector_memory;
SolverGMRES<BlockVector<double> >::AdditionalData gmres_data;
gmres_data.max_n_tmp_vectors = 100;
gmres_data.max_basis_size = 100;

SolverGMRES<BlockVector<double> > gmres(solver_control, vector_memory,
gmres_data);
Expand Down

0 comments on commit d097676

Please sign in to comment.