My Project
|
Represents a scanning curve in the Parker-Lenhard hysteresis model. More...
#include <ParkerLenhard.hpp>
Public Types | |
typedef ScalarT | Scalar |
Public Member Functions | |
PLScanningCurve (Scalar Swr) | |
Constructs main imbibition curve. | |
~PLScanningCurve () | |
Destructor. | |
PLScanningCurve * | prev () const |
Return the previous scanning curve, i.e. | |
PLScanningCurve * | next () const |
Return the next scanning curve, i.e. | |
void | setNext (Scalar SwReversal, Scalar pcnwReversal, Scalar SwMiCurve, Scalar SwMdCurve) |
Set the next scanning curve. | |
bool | isValidAt_Sw (Scalar SwReversal) |
Returns true iff the given effective saturation Swei is within the scope of the curve, i.e. | |
bool | isImbib () |
Returns true iff the scanning curve is a imbibition curve. | |
bool | isDrain () |
Returns true iff the scanning curve is a drainage curve. | |
int | loopNum () |
The loop number of the scanning curve. | |
Scalar | Sw () const |
Absolute wetting-phase saturation at the scanning curve's reversal point. | |
Scalar | pcnw () const |
Capillary pressure at the last reversal point. | |
Scalar | SwMic () |
Apparent saturation of the last reversal point on the pressure MIC. | |
Scalar | SwMdc () |
Apparent saturation of the last reversal point on the pressure MDC. | |
Protected Member Functions | |
PLScanningCurve (PLScanningCurve *prevSC, PLScanningCurve *nextSC, int loopN, Scalar SwReversal, Scalar pcnwReversal, Scalar SwMiCurve, Scalar SwMdCurve) | |
Represents a scanning curve in the Parker-Lenhard hysteresis model.
The class has pointers to the scanning curves with higher and lower loop number, this saving the history of the imbibitions and drainages.
|
inline |
Constructs main imbibition curve.
Further scanning curves can be added with setNext.
|
inline |
Destructor.
After it was called all references to the next() curve are invalid!
|
inline |
Returns true iff the given effective saturation Swei is within the scope of the curve, i.e.
whether Swei is part of the curve's domain and the curve thus applies to Swi.
|
inline |
The loop number of the scanning curve.
The MDC is 0, PISC is 1, PDSC is 2, ...
|
inline |
Return the next scanning curve, i.e.
the curve with one more reversal than the current one.
|
inline |
Return the previous scanning curve, i.e.
the curve with one less reversal than the current one.
|
inline |
Set the next scanning curve.
Next in the sense of the number of reversals from imbibition to drainage or vince versa. If this curve already has a list of next curves, it is deleted and thus forgotten.