diff --git a/dumux/multidomain/boundary/freeflowporenetwork/ffmassporenetwork/couplingmanager.hh b/dumux/multidomain/boundary/freeflowporenetwork/ffmassporenetwork/couplingmanager.hh index 254152a1778619a3ac8c119753ab268ce6a1f94d..62da7f7f6f406f7b43e8897d5f50ed9be85629bd 100644 --- a/dumux/multidomain/boundary/freeflowporenetwork/ffmassporenetwork/couplingmanager.hh +++ b/dumux/multidomain/boundary/freeflowporenetwork/ffmassporenetwork/couplingmanager.hh @@ -97,7 +97,7 @@ public: void init(std::shared_ptr<Problem<freeFlowMassIndex>> freeFlowMassProblem, std::shared_ptr<Problem<poreNetworkIndex>> pnmProblem, std::shared_ptr<CouplingMapper> couplingMapper, - SolutionVectorStorage& curSol) + const SolutionVectorStorage& curSol) { couplingMapper_ = couplingMapper; this->setSubProblems(std::make_tuple(freeFlowMassProblem, pnmProblem)); diff --git a/dumux/multidomain/boundary/freeflowporenetwork/ffmomentumporenetwork/couplingmanager.hh b/dumux/multidomain/boundary/freeflowporenetwork/ffmomentumporenetwork/couplingmanager.hh index c92c999e6490d82860079458511b5035da1124a0..1e5bf4dac810c580f446d5fade0df26d72de5ce9 100644 --- a/dumux/multidomain/boundary/freeflowporenetwork/ffmomentumporenetwork/couplingmanager.hh +++ b/dumux/multidomain/boundary/freeflowporenetwork/ffmomentumporenetwork/couplingmanager.hh @@ -100,7 +100,7 @@ public: std::shared_ptr<Problem<poreNetworkIndex>> porousMediumProblem, GridVariablesTuple&& gridVariables, std::shared_ptr<CouplingMapper> couplingMapper, - SolutionVectorStorage& curSol) + const SolutionVectorStorage& curSol) { couplingMapper_ = couplingMapper; gridVariables_ = gridVariables; diff --git a/dumux/multidomain/boundary/freeflowporousmedium/ffmasspm/couplingmanager_staggered_cctpfa.hh b/dumux/multidomain/boundary/freeflowporousmedium/ffmasspm/couplingmanager_staggered_cctpfa.hh index 16fb3d0751f34a5db40540d09809883cd89b6f6f..2094bf0b3be1c9327cd48d39de13e5d6ad121fd8 100644 --- a/dumux/multidomain/boundary/freeflowporousmedium/ffmasspm/couplingmanager_staggered_cctpfa.hh +++ b/dumux/multidomain/boundary/freeflowporousmedium/ffmasspm/couplingmanager_staggered_cctpfa.hh @@ -104,7 +104,7 @@ public: //! Initialize the coupling manager void init(std::shared_ptr<Problem<freeFlowMassIndex>> freeFlowMassProblem, std::shared_ptr<Problem<porousMediumIndex>> darcyProblem, - SolutionVectorStorage& curSol) + const SolutionVectorStorage& curSol) { this->setSubProblems(std::make_tuple(freeFlowMassProblem, darcyProblem)); this->attachSolution(curSol); diff --git a/dumux/multidomain/boundary/freeflowporousmedium/ffmomentumpm/couplingmanager_staggered_cctpfa.hh b/dumux/multidomain/boundary/freeflowporousmedium/ffmomentumpm/couplingmanager_staggered_cctpfa.hh index 6e0c3c0cbdc136e0d77377261dc2123d395e9f5a..2ff27369675e72da962853147a00c285cd4cd157 100644 --- a/dumux/multidomain/boundary/freeflowporousmedium/ffmomentumpm/couplingmanager_staggered_cctpfa.hh +++ b/dumux/multidomain/boundary/freeflowporousmedium/ffmomentumpm/couplingmanager_staggered_cctpfa.hh @@ -103,7 +103,7 @@ public: //! Initialize the coupling manager void init(std::shared_ptr<Problem<freeFlowMomentumIndex>> freeFlowMomentumProblem, std::shared_ptr<Problem<porousMediumIndex>> porousMediumProblem, - SolutionVectorStorage& curSol) + const SolutionVectorStorage& curSol) { this->setSubProblems(std::make_tuple(freeFlowMomentumProblem, porousMediumProblem)); this->attachSolution(curSol); diff --git a/dumux/multidomain/freeflow/couplingmanager_cvfe.hh b/dumux/multidomain/freeflow/couplingmanager_cvfe.hh index 308423258853e141f7d10e86ed120ffc9b94afb7..59c6516ca9de40ecf806f403eb14202a7449144c 100644 --- a/dumux/multidomain/freeflow/couplingmanager_cvfe.hh +++ b/dumux/multidomain/freeflow/couplingmanager_cvfe.hh @@ -146,7 +146,7 @@ public: void init(std::shared_ptr<Problem<freeFlowMomentumIndex>> momentumProblem, std::shared_ptr<Problem<freeFlowMassIndex>> massProblem, GridVariablesTuple&& gridVariables, - typename ParentType::SolutionVectorStorage& curSol) + const typename ParentType::SolutionVectorStorage& curSol) { this->setSubProblems(std::make_tuple(momentumProblem, massProblem)); gridVariables_ = gridVariables; diff --git a/dumux/multidomain/freeflow/couplingmanager_staggered.hh b/dumux/multidomain/freeflow/couplingmanager_staggered.hh index 62a73a382c40d847c19d40dfe32648843698b8ee..d80e34c868d379e81afbb3ccef42d859263012a1 100644 --- a/dumux/multidomain/freeflow/couplingmanager_staggered.hh +++ b/dumux/multidomain/freeflow/couplingmanager_staggered.hh @@ -139,7 +139,7 @@ public: void init(std::shared_ptr<Problem<freeFlowMomentumIndex>> momentumProblem, std::shared_ptr<Problem<freeFlowMassIndex>> massProblem, GridVariablesTuple&& gridVariables, - typename ParentType::SolutionVectorStorage& curSol) + const typename ParentType::SolutionVectorStorage& curSol) { this->setSubProblems(std::make_tuple(momentumProblem, massProblem)); gridVariables_ = gridVariables;