Skip to content
Snippets Groups Projects
Commit 3e0578fd authored by Timo Koch's avatar Timo Koch
Browse files

[navierstokes][momentum] Add convenience index for equation taking the direction

parent de55b38f
No related branches found
No related tags found
1 merge request!2871Feature/new staggered small fixes
......@@ -58,6 +58,16 @@ struct NavierStokesMomentumIndices // TODO specialize for staggered / diamond /
{
return dirIdx;
}
/*!
* \brief Index of the momentum balance equation given the direction
*
* \param dirIdx The index of the direction.
*/
static constexpr int momentumBalanceIdx(int dirIdx)
{
return dirIdx;
}
};
} // end namespace Dumux
......
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