accidently committed wrong files

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

View File

@ -167,8 +167,6 @@ 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
@ -181,8 +179,6 @@ 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
}