Skip to content
Snippets Groups Projects
Commit affc7093 authored by Melanie Lipp's avatar Melanie Lipp
Browse files

[staggered] Fixed typo.

parent c31f0514
No related branches found
No related tags found
1 merge request!923Fix/staggered typo and missing reset residual
......@@ -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
{
......
......@@ -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
{
......
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