mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Partially implements FS#180 - Inconsistent naming
- special status of saturation. In particular, it deals with the capitalized "S"-indices: S0Idx -> s0Idx SnIdx -> snIdx SwIdx -> swIdx SOrX1Idx -> sOrX1Idx SOrX2Idx -> sOrX2Idx SnOrXidx -> snOrXIdx SwOrXIdx -> swOrXIdx Reviewed by Christoph. Dumux-Svn-Revison: 10756 Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
This commit is contained in:
parent
475b50fb31
commit
99cc53ca66
@ -131,7 +131,7 @@ class TutorialProblemDecoupled: public IMPESProblem2P<TypeTag> /*@\label{tutoria
|
||||
{
|
||||
nPhaseIdx = Indices::nPhaseIdx,
|
||||
pWIdx = Indices::pwIdx,
|
||||
SwIdx = Indices::SwIdx,
|
||||
swIdx = Indices::swIdx,
|
||||
pressEqIdx = Indices::pressEqIdx,
|
||||
satEqIdx = Indices::satEqIdx
|
||||
};
|
||||
@ -253,7 +253,7 @@ public:
|
||||
void dirichlet(PrimaryVariables &values, const Intersection& intersection) const /*@\label{tutorial-decoupled:dirichlet}@*/
|
||||
{
|
||||
values[pWIdx] = 2e5;
|
||||
values[SwIdx] = 1.0;
|
||||
values[swIdx] = 1.0;
|
||||
}
|
||||
//! Value for neumann boundary condition \f$ [\frac{kg}{m^3 \cdot s}] \f$ at position globalPos.
|
||||
/*! In case of a neumann boundary condition, the flux of matter
|
||||
|
Loading…
Reference in New Issue
Block a user