powerinjection problem: make it work for 2D and 3D grids

and some minor variable renames in the base gradient calculator so
that a delta won't be mistaken for a derivative...
This commit is contained in:
Andreas Lauser committed 2014-10-01 13:37:55 +02:00
1 parent 1c60dd2ec9
commit e9ef352d80
1 file changed
+3 -2
+3 -2
View File
@@ -325,10 +325,11 @@ public:
// impose a forced flow boundary
values.setMassRate(massRate);
}
else {
else if (onRightBoundary_(pos))
// free flow boundary with initial condition on the right
values.setFreeFlow(context, spaceIdx, timeIdx, initialFluidState_);
}
else
values.setNoFlow();
}
//! \}