Class providing functionality for the reconstruction of the gradients in the sub-control volumes involved in mpfa schemes.  
#include <dumux/discretization/cellcentered/mpfa/scvgradients.hh>
|  | 
| template<class GridGeometry, class GridVariables, class SolutionVector> | 
| static ResultPair< GridGeometry, typename GridVariables::Scalar > | computeVelocities (const GridGeometry &gridGeometry, const GridVariables &gridVariables, const SolutionVector &x, unsigned int phaseIdx) | 
|  | Computes the phase velocities in the scvs of the grid. 
 | 
|  | 
| template<class GridGeometry, class GridVariables, class SolutionVector> | 
| static ResultPair< GridGeometry, typename GridVariables::Scalar > | computePressureGradients (const GridGeometry &gridGeometry, const GridVariables &gridVariables, const SolutionVector &x, unsigned int phaseIdx) | 
|  | Computes the pressure gradients in the scvs of the grid. 
 | 
|  | 
| template<class GridGeometry, class GridVariables, class SolutionVector, class F> | 
| static ResultPair< GridGeometry, typename GridVariables::Scalar > | computePressureGradients (const GridGeometry &gridGeometry, const GridVariables &gridVariables, const SolutionVector &x, unsigned int phaseIdx, F &f) | 
|  | Computes the pressure gradients in the scvs of the grid. 
 | 
|  | 
◆ computePressureGradients() [1/2]
template<class GridGeometry, class GridVariables, class SolutionVector> 
  
  | 
        
          | static ResultPair< GridGeometry, typename GridVariables::Scalar > Dumux::CCMpfaScvGradients::computePressureGradients | ( | const GridGeometry & | gridGeometry, |  
          |  |  | const GridVariables & | gridVariables, |  
          |  |  | const SolutionVector & | x, |  
          |  |  | unsigned int | phaseIdx ) |  | inlinestatic | 
 
- Parameters
- 
  
    | gridGeometry | The finite volume grid geometry |  | gridVariables | The variables living on the grid |  | x | The vector containing the solution |  | phaseIdx | The index of the fluid phase to be considered |  
 
 
 
◆ computePressureGradients() [2/2]
template<class GridGeometry, class GridVariables, class SolutionVector, class F> 
  
  | 
        
          | static ResultPair< GridGeometry, typename GridVariables::Scalar > Dumux::CCMpfaScvGradients::computePressureGradients | ( | const GridGeometry & | gridGeometry, |  
          |  |  | const GridVariables & | gridVariables, |  
          |  |  | const SolutionVector & | x, |  
          |  |  | unsigned int | phaseIdx, |  
          |  |  | F & | f ) |  | inlinestatic | 
 
- Parameters
- 
  
    | gridGeometry | The finite volume grid geometry |  | gridVariables | The variables living on the grid |  | x | The vector containing the solution |  | phaseIdx | The index of the fluid phase to be considered |  | f | a function which is applied to the gradients and which has the following signature: |  
 
Gradient f(const Gradient& gradient, const VolumeVariables& volVars)
It receives the scv-gradient and the corresponding volume variables and returns the modified gradient. This can be used e.g. to turn the pressure gradients into velocities. 
 
 
◆ computeVelocities()
template<class GridGeometry, class GridVariables, class SolutionVector> 
  
  | 
        
          | static ResultPair< GridGeometry, typename GridVariables::Scalar > Dumux::CCMpfaScvGradients::computeVelocities | ( | const GridGeometry & | gridGeometry, |  
          |  |  | const GridVariables & | gridVariables, |  
          |  |  | const SolutionVector & | x, |  
          |  |  | unsigned int | phaseIdx ) |  | inlinestatic | 
 
- Parameters
- 
  
    | gridGeometry | The finite volume grid geometry |  | gridVariables | The variables living on the grid |  | x | The vector containing the solution |  | phaseIdx | The index of the fluid phase to be considered |  
 
 
 
The documentation for this class was generated from the following file: