template<class P>
class Dumux::PoreNetwork::TwoPInvasionState< P >
This class updates the invasion state for the two-phase PNM.
|
| | TwoPInvasionState (const Problem &problem) |
| |
| template<class Element > |
| bool | invaded (const Element &element) const |
| | Return whether a given throat is invaded or not. More...
|
| |
| std::size_t | numThroatsInvaded () const |
| | Return the number of currently invaded throats. More...
|
| |
| template<class SolutionVector , class GridVolumeVariables , class GridFluxVariablesCache > |
| bool | update (const SolutionVector &sol, const GridVolumeVariables &gridVolVars, GridFluxVariablesCache &gridFluxVarsCache) |
| | Update the invasion state of all throats. This is done after each Newton step by a call from the Newton solver. More...
|
| |
| void | reset () |
| | Restore the old invasion state after a Newton iteration has failed. More...
|
| |
| bool | hasChanged () const |
| | Return whether an invasion or snap-off occurred anywhere. Can be used, e.g., for output file writing control. More...
|
| |
| bool | hasChangedInCurrentIteration () const |
| | Return whether an invasion or snap-off occurred anywhere during the current Newton iteration. More...
|
| |
| void | advance () |
| | This is called after the Newton method has successfully finished one time step. More...
|
| |
| template<class SolutionVector , class GridVolumeVariables , class GridFluxVariablesCache > |
| void | checkIfCapillaryPressureIsCloseToEntryPressure (const SolutionVector &sol, const GridVolumeVariables &gridVolVars, const GridFluxVariablesCache &gridFluxVarsCache) const |
| |