This class updates the invasion state for the two-phase PNM.  
#include <dumux/porenetwork/2p/invasionstate.hh>
|  | 
|  | TwoPInvasionState (const Problem &problem) | 
|  | 
| template<class Element> | 
| bool | invaded (const Element &element) const | 
|  | Return whether a given throat is invaded or not. 
 | 
|  | 
| std::size_t | numThroatsInvaded () const | 
|  | Return the number of currently invaded throats. 
 | 
|  | 
| 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. 
 | 
|  | 
| void | reset () | 
|  | Restore the old invasion state after a Newton iteration has failed. 
 | 
|  | 
| bool | hasChanged () const | 
|  | Return whether an invasion or snap-off occurred anywhere. Can be used, e.g., for output file writing control. 
 | 
|  | 
| bool | hasChangedInCurrentIteration () const | 
|  | Return whether an invasion or snap-off occurred anywhere during the current Newton iteration. 
 | 
|  | 
| void | advance () | 
|  | This is called after the Newton method has successfully finished one time step. 
 | 
|  | 
| template<class SolutionVector, class GridVolumeVariables, class GridFluxVariablesCache> | 
| void | checkIfCapillaryPressureIsCloseToEntryPressure (const SolutionVector &sol, const GridVolumeVariables &gridVolVars, const GridFluxVariablesCache &gridFluxVarsCache) const | 
|  | 
◆ TwoPInvasionState()
◆ advance()
◆ checkIfCapillaryPressureIsCloseToEntryPressure()
template<class P> 
template<class SolutionVector, class GridVolumeVariables, class GridFluxVariablesCache> 
  
  | 
        
          | void Dumux::PoreNetwork::TwoPInvasionState< P >::checkIfCapillaryPressureIsCloseToEntryPressure | ( | const SolutionVector & | sol, |  
          |  |  | const GridVolumeVariables & | gridVolVars, |  
          |  |  | const GridFluxVariablesCache & | gridFluxVarsCache ) const |  | inline | 
 
 
◆ hasChanged()
◆ hasChangedInCurrentIteration()
◆ invaded()
template<class P> 
template<class Element> 
 
 
◆ numThroatsInvaded()
◆ reset()
◆ update()
template<class P> 
template<class SolutionVector, class GridVolumeVariables, class GridFluxVariablesCache> 
 
 
The documentation for this class was generated from the following file: