Skip to content
Snippets Groups Projects
Commit 92c03ebd authored by renchao.lu's avatar renchao.lu
Browse files

[CL] print site unit.

parent 45073aba
No related branches found
No related tags found
No related merge requests found
......@@ -547,6 +547,18 @@ std::ostream& operator<<(std::ostream& os, PhreeqcIO const& phreeqc_io)
os << "-sites_units DENSITY"
<< "\n";
os << surface << "\n";
// print unit
if (std::holds_alternative<DensityBasedSurfaceSite>(
surface.front()))
{
os << "-sites_units density"
<< "\n";
}
else
{
os << "-sites_units absolute"
<< "\n";
}
os << "SAVE solution " << chemical_system_id + 1 << "\n";
}
......
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