Opm::Isotropic::InnerProduct< GridInterface, RockInterface > Struct Template Reference The inner product template. More...
Inheritance diagram for Opm::Isotropic::InnerProduct< GridInterface, RockInterface >:
Detailed Descriptiontemplate<class GridInterface, class RockInterface>
|
|
inherited |
The iterator type for iterating over grid cells.
|
inherited |
The element type of the matrix representation of the mimetic inner product. Assumed to be a floating point type, and usually,.
is an alias for
.
|
inherited |
|
inlineinherited |
Main evaluation routine. Computes the inverse of the matrix representation of the mimetic inner product in a single cell with kown permeability . Adds a regularization term in order to guarantee a positive definite matrix.
RockInterface | Type representing rock properties. Assumed to expose a method permeability(i)
i
operator()(int
i, int j)
K(i,j)
|
[in] | c | Cell for which to evaluate the inverse of the mimetic inner product. |
[in] | r | Specific rock properties. Only the permeability is used in method. |
[in] | nf | Number of faces (i.e., number of neighbours) of cell *c
|
References Opm::MimeticIPEvaluator< GridInterface, RockInterface >::dim, Opm::matMulAdd_NN(), Opm::matMulAdd_NT(), Opm::orthogonalizeColumns(), Opm::prod(), Opm::symmetricUpdate(), Opm::trace(), and Opm::zero().
|
inlineinherited |
Evaluate dynamic (saturation dependent) properties in single cell.
FluidInterface | Type representing fluid properties. Assumed to expose methods phaseDensities()
phaseMobilities()
|
Sat | Type representing single-cell saturation values. Typically, Sat
double
|
[in] | c | Cell for which to evaluate the dynamic properties. |
[in] | fl | Specific fluid properties. |
[in] | s | Vector of current fluid saturations. |
|
inlineinherited |
Main evaluation routine. Computes the inverse of the matrix representation of the mimetic inner product in a single cell with permeability . Adds a regularization term in order to guarantee a positive definite matrix.
PermTensor | Type representing the permeability tensor in a single cell. Assumed to expose a method operator()(int
i, int j)
K(i,j)
|
SP | Type representing the FullMatrix<T,SP,OP>
|
[in] | c | Cell for which to evaluate the inverse of the mimetic inner product. |
[in] | K | Permeability tensor for cell *c
|
[out] | Binv | Inverse of matrix representation of the mimetic inner product for cell *c
*c
|
References Opm::MimeticIPEvaluator< GridInterface, RockInterface >::dim, Opm::matMulAdd_NN(), Opm::matMulAdd_NT(), Opm::orthogonalizeColumns(), Opm::symmetricUpdate(), Opm::trace(), and Opm::zero().
|
inlineinherited |
Retrieve the dynamic (mobility updated) inverse mimetic inner product matrix for specific cell.
SP | Type representing the FullMatrix<T,SP,OP>
|
[in] | c | Cell for which to evaluate the dynamic inverse mimetic inner product. |
[in] | s | Fluid saturations. |
[out] | Binv | Inverse of matrix representation of the mimetic inner product for cell *c
*c
|
|
inlineinherited |
|
inlineinherited |
Compute gravity flux for all faces of single cell.
Vector | Type representing a vector (or a linear std::array) for which (a constant time) operator[]
|
[in] | c | Cell for which to evaluate the gravity flux. |
[out] | gflux | Gravity fluxes on all faces/intersections of cell c in the order of the face iterator of the cell. |
|
inlineinherited |
Computes the mimetic discretization of the gravity term in Darcy's law.
Vector | Type representing a possibly run-time sized one-dimensional mathematical vector. |
[in] | c | Cell for which to evaluate the inverse of the mimetic inner product. |
[in] | grav | Gravity vector. |
[in] | omega | The value of in cell *c
|
[out] | gterm | Mimetic discretization of the Darcy law gravity term. One scalar value for each face of cell *c
|
Referenced by Opm::MimeticIPEvaluator< GridInterface, RockInterface >::gravityTerm().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Initialization routine.
[in] | max_nf | Maximum number of faces/connections of any single cell in the model. Used to set the size of certain internal working std::arrays. A cell with faces results in an inner product matrix of size . |
References Opm::MimeticIPEvaluator< GridInterface, RockInterface >::dim.
|
inlineinherited |
Reserve internal space for storing values of (static) IP contributions for given set of cells.
Vector | Vector type, often std::vector<int>
|
[in] | sz | Set of sizes. Assumed to contain positive values, each representing the number of faces of a specific cell. In other words sz[i]
i
|