updated INSTALL text file instructions

This commit is contained in:
Bernd Flemisch 2011-02-25 16:00:11 +00:00 committed by Andreas Lauser
parent fae10bf07d
commit 86c0f2267f

View File

@ -167,6 +167,8 @@ public:
void boundaryTypes(BoundaryTypes &BCtypes, const Vertex &vertex) const
{
const GlobalPosition &pos = vertex.geometry().center();
Scalar right = this->bboxMax()[0];
if (pos[0] < eps_) // Dirichlet conditions on left boundary
BCtypes.setAllDirichlet();
else // neuman for the remaining boundaries
@ -179,6 +181,8 @@ public:
// primary variables.
void dirichlet(PrimaryVariables &values, const Vertex &vertex) const
{
const GlobalPosition &pos = vertex.geometry().center();
values[Indices::pwIdx] = 200.0e3; // 200 kPa = 2 bar
values[Indices::SnIdx] = 0.0; // 0 % oil saturation on left boundary
}