mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
New bc interface.
This commit is contained in:
committed by
Andreas Lauser
parent
ae92a66a12
commit
b5280738c5
@@ -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}@*/
|
||||
|
||||
Reference in New Issue
Block a user