template<class GridVariables, class LocalResidual, class SolutionVector>
class Dumux::PoreNetwork::BoundaryFlux< GridVariables, LocalResidual, SolutionVector >
Class for the calculation of fluxes at the boundary of pore-network models.
|
| BoundaryFlux (const GridVariables &gridVariables, const LocalResidual &localResidual, const SolutionVector &sol) |
|
template<class Label > |
Result | getFlux (const std::vector< Label > &labels, const bool verbose=false) const |
| Returns the cumulative flux in \(\mathrm{[\frac{kg}{s}]}\), \(\mathrm{[\frac{mole}{s}]}\) or \(\mathrm{[\frac{J}{s}]}\) of several pore throats for a given list of pore labels to consider. More...
|
|
Result | getFlux (std::string_view minMax, const int coord, const bool verbose=false) const |
| Returns the cumulative flux in \(\mathrm{[\frac{kg}{s}]}\), \(\mathrm{[\frac{mole}{s}]}\) or \(\mathrm{[\frac{J}{s}]}\) of several pore throats at a given location on the boundary. More...
|
|
template<class RestrictingFunction > |
NumEqVector | getFlux (const Element &element, RestrictingFunction considerScv, const bool verbose=false) const |
| Returns the cumulative flux in \(\mathrm{[\frac{kg}{s}]}\), \(\mathrm{[\frac{mole}{s}]}\) or \(\mathrm{[\frac{J}{s}]}\) of several pore throats at a given location on the boundary. More...
|
|
template<class GridVariables , class LocalResidual , class SolutionVector >
template<class RestrictingFunction >
NumEqVector Dumux::PoreNetwork::BoundaryFlux< GridVariables, LocalResidual, SolutionVector >::getFlux |
( |
const Element & |
element, |
|
|
RestrictingFunction |
considerScv, |
|
|
const bool |
verbose = false |
|
) |
| const |
|
inline |
Returns the cumulative flux in \(\mathrm{[\frac{kg}{s}]}\), \(\mathrm{[\frac{mole}{s}]}\) or \(\mathrm{[\frac{J}{s}]}\) of several pore throats at a given location on the boundary.
- Parameters
-
element | The element |
considerScv | A lambda function to decide whether to consider a scv or not |
verbose | If set true, the fluxes at all individual SCVs are printed |