Skip to content
Snippets Groups Projects
Commit b106c659 authored by Markus Wolff's avatar Markus Wolff
Browse files

align fluxData of decoupled 1p model to structure of 2p models


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7463 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 3be5c29e
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,7 @@ public:
{
CellData& cellData = problem_.variables().cellData(i);
storePressureSolution(i, cellData);
cellData.fluxData().resetVelocity();
}
}
......
......@@ -98,6 +98,15 @@ public:
velocity_[indexInInside] = velocity;
}
void resetVelocity()
{
for (int i = 0; i < 2 * dim; i++)
{
velocity_[i] = 0.;
velocityMarker_[i] = false;
}
}
void setVelocityMarker(int indexInInside)
{
velocityMarker_[indexInInside] = true;
......
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