Merge pull request #2563 from atgeirr/add-json-param-printout

Add logging of linear solver parameter tree.
This commit is contained in:
Bård Skaflestad 2020-04-25 14:13:11 +02:00 committed by GitHub
commit 19461e6b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,13 @@ public:
comm_.reset(new Communication(parinfo->communicator()));
}
#endif
// Print parameters to PRT/DBG logs.
if (simulator.gridView().comm().rank() == 0) {
std::ostringstream os;
os << "Property tree for linear solver:\n";
boost::property_tree::write_json(os, prm_, true);
OpmLog::note(os.str());
}
}
void eraseMatrix()