Skip to content
Snippets Groups Projects
Commit 80cc0eb4 authored by Tom Fischer's avatar Tom Fischer
Browse files

[T/MaL] Don't use initial guess for the solution.

parent e76c794f
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ createLinearSolver() ...@@ -37,7 +37,7 @@ createLinearSolver()
{ {
const char xml[] = const char xml[] =
"<petsc><parameters>" "<petsc><parameters>"
"-ksp_type bcgs -pc_type sor -ksp_rtol 1e-24 -ksp_max_it 100" "-ksp_type bcgs -pc_type sor -ksp_rtol 1e-24 -ksp_max_it 100 -ksp_initial_guess_nonzero false"
"</parameters></petsc>"; "</parameters></petsc>";
auto const ptree = readXml(xml); auto const ptree = readXml(xml);
BaseLib::ConfigTree config(ptree, "", BaseLib::ConfigTree::onerror, BaseLib::ConfigTree config(ptree, "", BaseLib::ConfigTree::onerror,
......
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