mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
accidently committed wrong files
This commit is contained in:
parent
86c0f2267f
commit
23f7c702c9
@ -167,8 +167,6 @@ public:
|
|||||||
void boundaryTypes(BoundaryTypes &BCtypes, const Vertex &vertex) const
|
void boundaryTypes(BoundaryTypes &BCtypes, const Vertex &vertex) const
|
||||||
{
|
{
|
||||||
const GlobalPosition &pos = vertex.geometry().center();
|
const GlobalPosition &pos = vertex.geometry().center();
|
||||||
Scalar right = this->bboxMax()[0];
|
|
||||||
|
|
||||||
if (pos[0] < eps_) // Dirichlet conditions on left boundary
|
if (pos[0] < eps_) // Dirichlet conditions on left boundary
|
||||||
BCtypes.setAllDirichlet();
|
BCtypes.setAllDirichlet();
|
||||||
else // neuman for the remaining boundaries
|
else // neuman for the remaining boundaries
|
||||||
@ -181,8 +179,6 @@ public:
|
|||||||
// primary variables.
|
// primary variables.
|
||||||
void dirichlet(PrimaryVariables &values, const Vertex &vertex) const
|
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::pwIdx] = 200.0e3; // 200 kPa = 2 bar
|
||||||
values[Indices::SnIdx] = 0.0; // 0 % oil saturation on left boundary
|
values[Indices::SnIdx] = 0.0; // 0 % oil saturation on left boundary
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user