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

[CL] Pass mesh vector.

parent 39ab6cd8
No related branches found
No related tags found
No related merge requests found
...@@ -1082,7 +1082,7 @@ void ProjectData::parseChemicalSystem( ...@@ -1082,7 +1082,7 @@ void ProjectData::parseChemicalSystem(
_chemical_system = ChemistryLib::createChemicalSolverInterface< _chemical_system = ChemistryLib::createChemicalSolverInterface<
ChemistryLib::ChemicalSolver::Phreeqc>( ChemistryLib::ChemicalSolver::Phreeqc>(
*_mesh_vec[0], process_id_to_component_name_map, *config, _mesh_vec, process_id_to_component_name_map, *config,
output_directory); output_directory);
} }
else if (boost::iequals(chemical_solver, "PhreeqcKernel")) else if (boost::iequals(chemical_solver, "PhreeqcKernel"))
...@@ -1093,7 +1093,7 @@ void ProjectData::parseChemicalSystem( ...@@ -1093,7 +1093,7 @@ void ProjectData::parseChemicalSystem(
_chemical_system = ChemistryLib::createChemicalSolverInterface< _chemical_system = ChemistryLib::createChemicalSolverInterface<
ChemistryLib::ChemicalSolver::PhreeqcKernel>( ChemistryLib::ChemicalSolver::PhreeqcKernel>(
*_mesh_vec[0], process_id_to_component_name_map, *config, _mesh_vec, process_id_to_component_name_map, *config,
output_directory); output_directory);
} }
else else
......
...@@ -63,7 +63,7 @@ namespace ChemistryLib ...@@ -63,7 +63,7 @@ namespace ChemistryLib
template <> template <>
std::unique_ptr<ChemicalSolverInterface> std::unique_ptr<ChemicalSolverInterface>
createChemicalSolverInterface<ChemicalSolver::Phreeqc>( createChemicalSolverInterface<ChemicalSolver::Phreeqc>(
MeshLib::Mesh const& mesh, std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes,
std::vector<std::pair<int, std::string>> const& std::vector<std::pair<int, std::string>> const&
process_id_to_component_name_map, process_id_to_component_name_map,
BaseLib::ConfigTree const& config, std::string const& output_directory) BaseLib::ConfigTree const& config, std::string const& output_directory)
...@@ -139,7 +139,7 @@ createChemicalSolverInterface<ChemicalSolver::Phreeqc>( ...@@ -139,7 +139,7 @@ createChemicalSolverInterface<ChemicalSolver::Phreeqc>(
template <> template <>
std::unique_ptr<ChemicalSolverInterface> std::unique_ptr<ChemicalSolverInterface>
createChemicalSolverInterface<ChemicalSolver::PhreeqcKernel>( createChemicalSolverInterface<ChemicalSolver::PhreeqcKernel>(
MeshLib::Mesh const& mesh, std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes,
std::vector<std::pair<int, std::string>> const& std::vector<std::pair<int, std::string>> const&
process_id_to_component_name_map, process_id_to_component_name_map,
BaseLib::ConfigTree const& config, std::string const& /*output_directory*/) BaseLib::ConfigTree const& config, std::string const& /*output_directory*/)
......
...@@ -32,7 +32,7 @@ class ChemicalSolverInterface; ...@@ -32,7 +32,7 @@ class ChemicalSolverInterface;
template <ChemicalSolver chemical_solver> template <ChemicalSolver chemical_solver>
std::unique_ptr<ChemicalSolverInterface> createChemicalSolverInterface( std::unique_ptr<ChemicalSolverInterface> createChemicalSolverInterface(
MeshLib::Mesh const& mesh, std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes,
std::vector<std::pair<int, std::string>> const& std::vector<std::pair<int, std::string>> const&
process_id_to_component_name_map, process_id_to_component_name_map,
BaseLib::ConfigTree const& config, std::string const& output_directory); BaseLib::ConfigTree const& config, std::string const& output_directory);
......
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