diff --git a/dumux/common/staggeredfvproblem.hh b/dumux/common/staggeredfvproblem.hh index adf519afa279f6206787241b4b4ac940bf5a447d..abb4397e9666155326c4bce8f934cd3baf85e3cd 100644 --- a/dumux/common/staggeredfvproblem.hh +++ b/dumux/common/staggeredfvproblem.hh @@ -118,21 +118,21 @@ public: // let the problem do the dirty work of nailing down // the initial solution. auto initPriVars = asImp_().initial(scv); - asImp_().applyInititalCellCenterSolution(sol, scv, initPriVars); + asImp_().applyInitialCellCenterSolution(sol, scv, initPriVars); } // loop over faces for(auto&& scvf : scvfs(fvGeometry)) { auto initPriVars = asImp_().initial(scvf); - asImp_().applyInititalFaceSolution(sol, scvf, initPriVars); + asImp_().applyInitialFaceSolution(sol, scvf, initPriVars); } } } //! Applys the initial cell center solution - void applyInititalCellCenterSolution(SolutionVector& sol, + void applyInitialCellCenterSolution(SolutionVector& sol, const SubControlVolume& scv, const PrimaryVariables& initSol) const { @@ -145,7 +145,7 @@ public: } //! Applys the initial face solution - void applyInititalFaceSolution(SolutionVector& sol, + void applyInitialFaceSolution(SolutionVector& sol, const SubControlVolumeFace& scvf, const PrimaryVariables& initSol) const { diff --git a/dumux/freeflow/navierstokes/problem.hh b/dumux/freeflow/navierstokes/problem.hh index 5a11a1d5e89f9170e8184e6605ad590cb75aa0aa..376b5d843f8b4ef93788b06d44f337952247ad0c 100644 --- a/dumux/freeflow/navierstokes/problem.hh +++ b/dumux/freeflow/navierstokes/problem.hh @@ -122,7 +122,7 @@ public: //! Applys the initial face solution (velocities on the faces). Specialization for staggered grid discretization. template <class G = FVGridGeometry> typename std::enable_if<G::discMethod == DiscretizationMethod::staggered, void>::type - applyInititalFaceSolution(SolutionVector& sol, + applyInitialFaceSolution(SolutionVector& sol, const SubControlVolumeFace& scvf, const PrimaryVariables& initSol) const {