Skip to content

Commit

Permalink
[PL] Move output parameter to end of args list
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Nov 11, 2023
1 parent 9dfc0a2 commit 49cf561
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ProcessLib/CreateProcessData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ static std::unique_ptr<ProcessData> makeProcessData(
std::vector<std::unique_ptr<ProcessData>> createPerProcessData(
BaseLib::ConfigTree const& config,
std::vector<std::unique_ptr<Process>> const& processes,
std::map<std::string, int>& local_coupling_processes,
std::map<std::string, std::unique_ptr<NumLib::NonlinearSolverBase>> const&
nonlinear_solvers,
bool const compensate_non_equilibrium_initial_residuum,
std::vector<double> const& fixed_times_for_output)
std::vector<double> const& fixed_times_for_output,
std::map<std::string, int>& local_coupling_processes)
{
std::vector<std::unique_ptr<ProcessData>> per_process_data;
std::vector<std::string> process_names;
Expand Down
4 changes: 2 additions & 2 deletions ProcessLib/CreateProcessData.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ namespace ProcessLib
std::vector<std::unique_ptr<ProcessData>> createPerProcessData(
BaseLib::ConfigTree const& config,
std::vector<std::unique_ptr<Process>> const& processes,
std::map<std::string, int>& local_coupling_processes,
std::map<std::string, std::unique_ptr<NumLib::NonlinearSolverBase>> const&
nonlinear_solvers,
bool const compensate_non_equilibrium_initial_residuum,
std::vector<double> const& fixed_times_for_output);
std::vector<double> const& fixed_times_for_output,
std::map<std::string, int>& local_coupling_processes);

} // namespace ProcessLib
6 changes: 3 additions & 3 deletions ProcessLib/CreateTimeLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ std::unique_ptr<TimeLoop> createTimeLoop(

auto per_process_data = createPerProcessData(
//! \ogs_file_param{prj__time_loop__processes}
config.getConfigSubtree("processes"), processes,
local_coupling_processes, nonlinear_solvers,
compensate_non_equilibrium_initial_residuum, fixed_times_for_output);
config.getConfigSubtree("processes"), processes, nonlinear_solvers,
compensate_non_equilibrium_initial_residuum, fixed_times_for_output,
local_coupling_processes);

const bool use_staggered_scheme =
ranges::any_of(processes.begin(), processes.end(),
Expand Down

0 comments on commit 49cf561

Please sign in to comment.