New bc interface.

This commit is contained in:
Bernd Flemisch authored and Andreas Lauser committed 2012-07-11 23:28:18 +02:00
1 parent ae92a66a12
commit b5280738c5
1 file changed
+4
+4
View File
@@ -51,6 +51,8 @@ public:
return std::vector<Scalar>(2,0.0);
}
using FractionalFlowProblem<GridView, Scalar, VariableClass>::bctypePress;
// function returning the boundary condition type for solution
// of the pressure equation depending on the position within the domain
typename BoundaryConditions::Flags bctypePress(const GlobalPosition& globalPos, const Element& e, /*@\label{tutorial-decoupled:bctypepress}@*/
@@ -98,6 +100,8 @@ public:
return 0.0;
}
using FractionalFlowProblem<GridView, Scalar, VariableClass>::neumannPress;
// function returning the Neumann boundary condition for the solution
// of the pressure equation depending on the position within the domain
std::vector<Scalar> neumannPress(const GlobalPosition& globalPos, const Element& e, /*@\label{tutorial-decoupled:jpress}@*/