Commit 1e1846bb authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

accidently committed wrong files

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5294 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent af050175
......@@ -393,7 +393,7 @@ protected:
if (numDiffMethod <= 0) {
// we are not using forward differences, i.e. we
// we are not using forward differences, i.e. we don't
// need to calculate f(x - \epsilon)
// deflect the primary variables
......
......@@ -122,7 +122,7 @@ public:
SET_BOOL_PROP(InjectionProblem2PNI, EnableGravity, true);
// write convergence behaviour to disk?
SET_BOOL_PROP(InjectionProblem2PNI, NewtonWriteConvergence, false);
SET_BOOL_PROP(InjectionProblem2PNI, NewtonWriteConvergence, true);
}
/*!
......
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment