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. 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 |
|
◆ 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: