New bc interface.

This commit is contained in:
Bernd Flemisch
2009-11-04 14:13:08 +00:00
committed by Andreas Lauser
parent ae92a66a12
commit b5280738c5

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}@*/