mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add logging of linear solver parameter tree.
This commit is contained in:
parent
0773d07df5
commit
a720bf9942
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user