32 std::size_t
const num_chemical_systems)
38 std::string aqueous_solution_prev_;
39 std::size_t chemical_system_id = 0;
40 while (std::getline(in, line))
42 if (line.find(
"USE reaction_pressure none") != std::string::npos)
47 if (line.find(
"SOLUTION_RAW") != std::string::npos)
49 aqueous_solution_prev_ =
51 std::to_string(num_chemical_systems + chemical_system_id + 1) +
56 aqueous_solution_prev_ += line +
"\n";
58 if (line.find(
"-gammas") != std::string::npos)
61 aqueous_solution_prev_.clear();