|
typedef BlackoilCo2PVT | BlackoilPVT |
|
typedef FullMatrix< double, OwnData, COrdering > | OwnCMatrix |
| Convenience typedefs for C-ordered. More...
|
|
typedef FullMatrix< double, SharedData, COrdering > | SharedCMatrix |
|
typedef const FullMatrix< double, ImmutableSharedData, COrdering > | ImmutableCMatrix |
|
typedef FullMatrix< double, OwnData, FortranOrdering > | OwnFortranMatrix |
| Convenience typedefs for Fortran-ordered. More...
|
|
typedef FullMatrix< double, SharedData, FortranOrdering > | SharedFortranMatrix |
|
typedef const FullMatrix< double, ImmutableSharedData, FortranOrdering > | ImmutableFortranMatrix |
|
|
template<typename charT , class traits , typename T > |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, const BCBase< T > &bc) |
| Stream insertion for BCBase. More...
|
|
template<typename charT , class traits > |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, const PeriodicConditionHandler &pch) |
|
template<typename charT , class traits , bool F, bool S> |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, const BasicBoundaryConditions< F, S > &bcs) |
|
bool | match (std::vector< BoundaryFaceInfo > &bfaces, int face, int lower, int upper) |
| Find a match (periodic partner) for the given face. More...
|
|
template<class GridView > |
void | findPeriodicPartners (std::vector< BoundaryFaceInfo > &bfinfo, std::array< double, 6 > &side_areas, const GridView &g, const std::array< bool, 2 *GridView::dimension > &is_periodic, double spatial_tolerance=1e-6) |
| Common implementation for the various createPeriodic functions. More...
|
|
template<class Arr > |
void | append_transport_source (int c, double p, double v, const Arr &s, TransportSource &src) |
|
void | compute_porevolume (const UnstructuredGrid *g, const Rock &rock, std::vector< double > &porevol) |
|
template<class Matrix > |
void | zero (Matrix &A) |
| Zero-fill a. More...
|
|
template<class Matrix > |
void | eye (Matrix &A) |
| Make an identity. More...
|
|
template<class Matrix > |
Matrix::value_type | trace (const Matrix &A) |
| Compute matrix trace (i.e., sum(diag(A))). More...
|
|
template<class Matrix , int rows> |
Dune::FieldVector< typename Matrix::value_type, rows > | prod (const Matrix &A, const Dune::FieldVector< typename Matrix::value_type, rows > &x) |
| Matrix applied to a vector. More...
|
|
template<class Matrix1 , class Matrix2 , class MutableMatrix > |
void | prod (const Matrix1 &A, const Matrix2 &B, MutableMatrix &C) |
| Compute C = AB. C must not overlap with A or B. More...
|
|
template<typename T , template< typename > class StoragePolicy> |
int | orthogonalizeColumns (FullMatrix< T, StoragePolicy, FortranOrdering > &A) |
| Construct orthonormal basis for matrix range (i.e., column space). Based on a QR factorization of the matrix. More...
|
|
template<typename T , template< typename > class StoragePolicy, class OrderingPolicy > |
int | invert (FullMatrix< T, StoragePolicy, OrderingPolicy > &A) |
| Matrix inversion, . More...
|
|
template<typename T , template< typename > class StoragePolicy> |
void | symmetricUpdate (const T &a1, const FullMatrix< T, StoragePolicy, FortranOrdering > &A, const T &a2, FullMatrix< T, StoragePolicy, FortranOrdering > &C) |
| Symmetric, rank update of symmetric matrix. Specifically, . More...
|
|
template<typename T , template< typename > class StoragePolicy> |
void | symmetricUpdate (const FullMatrix< T, StoragePolicy, FortranOrdering > &A, FullMatrix< T, StoragePolicy, FortranOrdering > &B) |
|
template<typename T , template< typename > class SP> |
void | vecMulAdd_N (const T &a1, const FullMatrix< T, SP, FortranOrdering > &A, const std::vector< T > &x, const T &a2, std::vector< T > &y) |
| GEneral Matrix-Vector product (GAXPY operation). Specifically, . More...
|
|
template<typename T , template< typename > class SP> |
void | vecMulAdd_N (const T &a1, const FullMatrix< T, SP, FortranOrdering > &A, const T *x, const T &a2, T *y) |
| GEneral Matrix-Vector product (GAXPY operation). Specifically, . More...
|
|
template<typename T , template< typename > class SP> |
void | vecMulAdd_T (const T &a1, const FullMatrix< T, SP, FortranOrdering > &A, const std::vector< T > &x, const T &a2, std::vector< T > &y) |
| GEneral Matrix-Vector product (GAXPY operation). Specifically, . More...
|
|
template<typename T , template< typename > class SP> |
void | vecMulAdd_T (const T &a1, const FullMatrix< T, SP, FortranOrdering > &A, const T *x, const T &a2, T *y) |
| GEneral Matrix-Vector product (GAXPY operation). Specifically, . More...
|
|
template<typename T , template< typename > class SP> |
void | vecMulAdd_N (const T &a1, const FullMatrix< T, SP, COrdering > &A, const T *x, const T &a2, T *y) |
| GEneral Matrix-Vector product (GAXPY operation). Specifically, . Overload for C-ordered FullMatrix type. More...
|
|
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3> |
void | matMulAdd_NN (const T &a1, const FullMatrix< T, SP1, FortranOrdering > &A, const FullMatrix< T, SP2, FortranOrdering > &B, const T &a2, FullMatrix< T, SP3, FortranOrdering > &C) |
| GEneral Matrix-Matrix product update of other matrix. Specificlly, . More...
|
|
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3> |
void | matMulAdd_NT (const T &a1, const FullMatrix< T, SP1, FortranOrdering > &A, const FullMatrix< T, SP2, FortranOrdering > &B, const T &a2, FullMatrix< T, SP3, FortranOrdering > &C) |
| GEneral Matrix-Matrix product update of other matrix. Specificlly, . More...
|
|
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3> |
void | matMulAdd_TN (const T &a1, const FullMatrix< T, SP1, FortranOrdering > &A, const FullMatrix< T, SP2, FortranOrdering > &B, const T &a2, FullMatrix< T, SP3, FortranOrdering > &C) |
| GEneral Matrix-Matrix product update of other matrix. Specificlly, . More...
|
|
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3> |
void | matMulAdd_NN (const T &a1, const FullMatrix< T, SP1, FortranOrdering > &A, const FullMatrix< T, SP2, COrdering > &B, const T &a2, FullMatrix< T, SP3, FortranOrdering > &C) |
| GEneral Matrix-Matrix product update of other matrix. Specificlly, . Overload for C-ordered matrix . More...
|
|
template<class charT , class traits , typename T , template< typename > class SP, class OP > |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, const FullMatrix< T, SP, OP > &A) |
| Stream output operator for. More...
|
|
template<typename M > |
M | inverse2x2 (const M &m) |
|
template<typename M > |
M | matprod (const M &m1, const M &m2) |
|
template<typename M > |
M | inverse3x3 (const M &m) |
|
template<class BCs > |
void | storeFlowCond (BCs &bcs, const std::vector< BoundaryFaceInfo > &bfinfo, const std::array< FlowBC, 6 > &fconditions, const std::array< double, 6 > &side_areas) |
|
template<class BCs > |
void | storeSatCond (BCs &bcs, const std::vector< BoundaryFaceInfo > &bfinfo, const std::array< SatBC, 6 > &sconditions) |
|
template<class BC > |
std::array< bool, 6 > | extractPeriodic (const std::array< BC, 6 > &bcs) |
|
template<class BCs , class GridInterface > |
void | createPeriodic (BCs &fbcs, const GridInterface &g, const std::array< FlowBC, 2 *GridInterface::Dimension > &fconditions, const std::array< SatBC, 2 *GridInterface::Dimension > &sconditions, double spatial_tolerance=1e-6) |
| Makes a boundary condition object representing periodic boundary conditions in any cartesian directions. The grid interface needs to export boundary ids that are unique for each boundary face for this to be possible. More...
|
|
template<class BCs , class GridInterface > |
void | createPeriodic (BCs &fbcs, const GridInterface &g, const std::array< FlowBC, 2 *GridInterface::Dimension > &fconditions, double spatial_tolerance=1e-6) |
|
template<class BCs , class GridInterface > |
void | createPeriodic (BCs &fbcs, const GridInterface &g, const std::array< SatBC, 2 *GridInterface::Dimension > &sconditions, double spatial_tolerance=1e-6) |
|
template<class BCs , class GridInterface > |
void | createPeriodicImpl (BCs &fbcs, std::vector< BoundaryFaceInfo > &bfinfo, std::array< double, 6 > &side_areas, const GridInterface &g, const std::array< bool, 2 *GridInterface::Dimension > &is_periodic, double spatial_tolerance=1e-6) |
| Common implementation for the various createPeriodic functions. More...
|
|
template<class BCs , class GridInterface > |
void | createLinear (BCs &fbcs, const GridInterface &g, const double pdrop, const int pddir, const double bdy_sat, const bool twodim_hack=false, const double spatial_tolerance=1e-6) |
| Makes a boundary condition object representing linear boundary conditions in any cartesian direction. The grid interface needs to export boundary ids that are unique for each boundary face for this to be possible. More...
|
|
template<class GridInterface , class BCs > |
void | setupBoundaryConditions (const Opm::parameter::ParameterGroup ¶m, const GridInterface &g, BCs &bcs) |
| Setup boundary conditions for a simulation. It is assumed that the boundary ids are 1-6, similar to cartesian case/Yaspgrid, unless periodic, in which case we assume unique boundary ids. More...
|
|
template<class GridInterface , class BCs > |
void | setupUpscalingConditions (const GridInterface &g, int bct, int pddir, double pdrop, double bdy_sat, bool twodim_hack, BCs &bcs) |
|
template<class GridInterface , class BCs > |
void | setupRegionBasedConditions (const Opm::parameter::ParameterGroup ¶m, const GridInterface &g, BCs &bcs) |
|
template<class RP > |
bool | useJ () |
| Helper for determining whether we should. More...
|
|
template<> |
bool | useJ< ReservoirPropertyCapillary< 3 > > () |
|
template<template< int > class ResProp> |
void | setupGridAndProps (const Opm::parameter::ParameterGroup ¶m, Dune::CpGrid &grid, ResProp< 3 > &res_prop) |
|
template<template< int > class ResProp> |
void | setupGridAndPropsEclipse (Opm::DeckConstPtr deck, bool periodic_extension, bool turn_normals, bool clip_z, bool unique_bids, double perm_threshold, const std::string &rock_list, bool use_jfunction_scaling, double sigma, double theta, Dune::CpGrid &grid, ResProp< 3 > &res_prop) |
|
template<template< int > class ResProp> |
void | setupGridAndProps (const Opm::parameter::ParameterGroup ¶m, Dune::SGrid< 3, 3 > &grid, ResProp< 3 > &res_prop) |
|
template<class GridInterface , class FlowSol > |
void | estimateCellVelocity (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &ginterf, const FlowSol &flow_solution) |
| Estimates a scalar cell velocity from outgoing fluxes. More...
|
|
template<class GridInterface > |
void | estimateCellVelocitySimpleInterface (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &grid, const std::vector< double > &face_flux) |
| Estimates a scalar cell velocity from face fluxes. More...
|
|
template<class GridInterface , class FlowSol > |
void | estimateCellVelocity (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &ginterf, const FlowSol &flow_solution, const std::vector< int > &partition, const int my_partition) |
| Estimates a scalar cell velocity from outgoing fluxes. More...
|
|
template<class ReservoirProperty > |
void | computePhaseVelocities (std::vector< Dune::FieldVector< double, 3 > > &phase_velocity_water, std::vector< Dune::FieldVector< double, 3 > > &phase_velocity_oil, const ReservoirProperty &res_prop, const std::vector< double > &saturation, const std::vector< Dune::FieldVector< double, 3 > > &cell_velocity) |
|
template<class GridInterface , class FlowSol > |
void | getCellPressure (std::vector< double > &cell_pressure, const GridInterface &ginterf, const FlowSol &flow_solution) |
|
template<class GridInterface , class FlowSol > |
void | getCellPressure (std::vector< double > &cell_pressure, const GridInterface &ginterf, const FlowSol &flow_solution, const std::vector< int > &partition, const int my_partition) |
|
template<class ReservoirProperties > |
void | computeCapPressure (std::vector< double > &cap_pressure, const ReservoirProperties &rp, const std::vector< double > &sat) |
| Computes the capillary pressure in each cell from the cell saturations. More...
|
|
template<class GridInterface , class ReservoirProperties , class FlowSol > |
void | writeVtkOutput (const GridInterface &ginterf, const ReservoirProperties &rp, const FlowSol &flowsol, const std::vector< double > &saturation, const std::string &filename) |
|
void | writeField (const std::vector< double > &field, const std::string &filename) |
|
template<class GridInterface , class ReservoirProperties > |
std::pair< double, double > | poreSatVolumes (const GridInterface &grid, const ReservoirProperties &rp, const std::vector< double > &sat) |
|
Class for immiscible dead oil and dry gas. Detailed description.
Class for miscible wet gas. Detailed description.
Class for miscible live oil. Detailed description.
Base class for properties of fluids and rocks. Detailed description.
Inverting small matrices. Inverting 2x2 and 3x3 matrices. Not meant to extend to large systems, but to satisfy a need to invert small matrices.
◆ BlackoilPVT
◆ ImmutableCMatrix
◆ ImmutableFortranMatrix
◆ OwnCMatrix
Convenience typedefs for C-ordered.
types with 'Owning', 'Shared' and 'Immutable Shared' matrix element storage semantics.
◆ OwnFortranMatrix
Convenience typedefs for Fortran-ordered.
types with 'Owning', 'Shared' and 'Immutable Shared' matrix element storage semantics.
◆ SharedCMatrix
◆ SharedFortranMatrix
◆ PermeabilityKind
Enum for the kind of permeability field originally retrieved.
Enumerator |
---|
ScalarPerm | |
DiagonalPerm | |
TensorPerm | |
None | |
Invalid | |
◆ append_transport_source()
template<class Arr >
void Opm::append_transport_source |
( |
int |
c, |
|
|
double |
p, |
|
|
double |
v, |
|
|
const Arr & |
s, |
|
|
TransportSource & |
src |
|
) |
| |
◆ compute_porevolume()
void Opm::compute_porevolume |
( |
const UnstructuredGrid * |
g, |
|
|
const Rock & |
rock, |
|
|
std::vector< double > & |
porevol |
|
) |
| |
◆ computeCapPressure()
template<class ReservoirProperties >
void Opm::computeCapPressure |
( |
std::vector< double > & |
cap_pressure, |
|
|
const ReservoirProperties & |
rp, |
|
|
const std::vector< double > & |
sat |
|
) |
| |
Computes the capillary pressure in each cell from the cell saturations.
- Template Parameters
-
ReservoirProperties | the type of reservoir property object |
- Parameters
-
cap_pressure | [out] the capillary pressure in each cell |
rp | the reservoir property object |
sat | the cell saturations |
Referenced by writeVtkOutput().
◆ computePhaseVelocities()
template<class ReservoirProperty >
void Opm::computePhaseVelocities |
( |
std::vector< Dune::FieldVector< double, 3 > > & |
phase_velocity_water, |
|
|
std::vector< Dune::FieldVector< double, 3 > > & |
phase_velocity_oil, |
|
|
const ReservoirProperty & |
res_prop, |
|
|
const std::vector< double > & |
saturation, |
|
|
const std::vector< Dune::FieldVector< double, 3 > > & |
cell_velocity |
|
) |
| |
◆ createLinear()
template<class BCs , class GridInterface >
void Opm::createLinear |
( |
BCs & |
fbcs, |
|
|
const GridInterface & |
g, |
|
|
const double |
pdrop, |
|
|
const int |
pddir, |
|
|
const double |
bdy_sat, |
|
|
const bool |
twodim_hack = false , |
|
|
const double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ createPeriodic() [1/3]
template<class BCs , class GridInterface >
void Opm::createPeriodic |
( |
BCs & |
fbcs, |
|
|
const GridInterface & |
g, |
|
|
const std::array< FlowBC, 2 *GridInterface::Dimension > & |
fconditions, |
|
|
const std::array< SatBC, 2 *GridInterface::Dimension > & |
sconditions, |
|
|
double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ createPeriodic() [2/3]
template<class BCs , class GridInterface >
void Opm::createPeriodic |
( |
BCs & |
fbcs, |
|
|
const GridInterface & |
g, |
|
|
const std::array< FlowBC, 2 *GridInterface::Dimension > & |
fconditions, |
|
|
double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ createPeriodic() [3/3]
template<class BCs , class GridInterface >
void Opm::createPeriodic |
( |
BCs & |
fbcs, |
|
|
const GridInterface & |
g, |
|
|
const std::array< SatBC, 2 *GridInterface::Dimension > & |
sconditions, |
|
|
double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ createPeriodicImpl()
template<class BCs , class GridInterface >
void Opm::createPeriodicImpl |
( |
BCs & |
fbcs, |
|
|
std::vector< BoundaryFaceInfo > & |
bfinfo, |
|
|
std::array< double, 6 > & |
side_areas, |
|
|
const GridInterface & |
g, |
|
|
const std::array< bool, 2 *GridInterface::Dimension > & |
is_periodic, |
|
|
double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ estimateCellVelocity() [1/2]
template<class GridInterface , class FlowSol >
void Opm::estimateCellVelocity |
( |
std::vector< typename GridInterface::Vector > & |
cell_velocity, |
|
|
const GridInterface & |
ginterf, |
|
|
const FlowSol & |
flow_solution |
|
) |
| |
Estimates a scalar cell velocity from outgoing fluxes.
- Template Parameters
-
GridInterface | a grid interface. |
FlowSol | a flow solution type. |
- Parameters
-
[out] | cell_velocity | the estimated velocities. |
[in] | ginterf | an interface to the grid. |
[in] | flow_solution | the object containing the fluxes. |
Referenced by writeVtkOutput().
◆ estimateCellVelocity() [2/2]
template<class GridInterface , class FlowSol >
void Opm::estimateCellVelocity |
( |
std::vector< typename GridInterface::Vector > & |
cell_velocity, |
|
|
const GridInterface & |
ginterf, |
|
|
const FlowSol & |
flow_solution, |
|
|
const std::vector< int > & |
partition, |
|
|
const int |
my_partition |
|
) |
| |
Estimates a scalar cell velocity from outgoing fluxes.
- Template Parameters
-
GridInterface | a grid interface. |
FlowSol | a flow solution type. |
- Parameters
-
[out] | cell_velocity | the estimated velocities. |
[in] | ginterf | an interface to the grid. |
[in] | flow_solution | the object containing the fluxes. |
[in] | partition | partition numbers of the fluxes. |
[in] | my_partition | partition to be used. |
◆ estimateCellVelocitySimpleInterface()
template<class GridInterface >
void Opm::estimateCellVelocitySimpleInterface |
( |
std::vector< typename GridInterface::Vector > & |
cell_velocity, |
|
|
const GridInterface & |
grid, |
|
|
const std::vector< double > & |
face_flux |
|
) |
| |
Estimates a scalar cell velocity from face fluxes.
- Template Parameters
-
GridInterface | a grid interface. |
FlowSol | a flow solution type. |
- Parameters
-
[out] | cell_velocity | the estimated velocities. |
[in] | ginterf | an interface to the grid. |
[in] | flow_solution | the object containing the fluxes. |
◆ extractPeriodic()
template<class BC >
std::array< bool, 6 > Opm::extractPeriodic |
( |
const std::array< BC, 6 > & |
bcs | ) |
|
◆ eye()
template<class Matrix >
void Opm::eye |
( |
Matrix & |
A | ) |
|
◆ findPeriodicPartners()
template<class GridView >
void Opm::findPeriodicPartners |
( |
std::vector< BoundaryFaceInfo > & |
bfinfo, |
|
|
std::array< double, 6 > & |
side_areas, |
|
|
const GridView & |
g, |
|
|
const std::array< bool, 2 *GridView::dimension > & |
is_periodic, |
|
|
double |
spatial_tolerance = 1e-6 |
|
) |
| |
◆ getCellPressure() [1/2]
template<class GridInterface , class FlowSol >
void Opm::getCellPressure |
( |
std::vector< double > & |
cell_pressure, |
|
|
const GridInterface & |
ginterf, |
|
|
const FlowSol & |
flow_solution |
|
) |
| |
◆ getCellPressure() [2/2]
template<class GridInterface , class FlowSol >
void Opm::getCellPressure |
( |
std::vector< double > & |
cell_pressure, |
|
|
const GridInterface & |
ginterf, |
|
|
const FlowSol & |
flow_solution, |
|
|
const std::vector< int > & |
partition, |
|
|
const int |
my_partition |
|
) |
| |
- Template Parameters
-
param
◆ inverse2x2()
template<typename M >
M Opm::inverse2x2 |
( |
const M & |
m | ) |
|
◆ inverse3x3()
template<typename M >
M Opm::inverse3x3 |
( |
const M & |
m | ) |
|
◆ invert()
template<typename T , template< typename > class StoragePolicy, class OrderingPolicy >
int Opm::invert |
( |
FullMatrix< T, StoragePolicy, OrderingPolicy > & |
A | ) |
|
Matrix inversion, .
- Template Parameters
-
T | Matrix element type. |
StoragePolicy | Matrix storage policy. |
OrderingPolicy | Matrix ordering policy. |
- Parameters
-
A | Matrix. Contains the inverse upon return from
int invert(FullMatrix< T, StoragePolicy, OrderingPolicy > &A) Matrix inversion, . Definition: Matrix.hpp:781
. |
- Returns
- The union of the LAPACK xGETRF and xGETRI 'INFO' subroutine return flags.
References Opm::BLAS_LAPACK::GETRF(), and Opm::BLAS_LAPACK::GETRI().
Referenced by Opm::TensorMobility< dim >::setToInverse().
◆ match()
bool Opm::match |
( |
std::vector< BoundaryFaceInfo > & |
bfaces, |
|
|
int |
face, |
|
|
int |
lower, |
|
|
int |
upper |
|
) |
| |
Find a match (periodic partner) for the given face.
- Parameters
-
[in,out] | bfaces | the boundary face info list. |
[in] | face | the face for which we seek a periodic partner |
[in] | lower | lower end of search interval [lower, upper) |
[in] | upper | upper end of search interval [lower, upper) |
- Returns
- true if a match was found, otherwise false
Referenced by findPeriodicPartners().
◆ matMulAdd_NN() [1/2]
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3>
void Opm::matMulAdd_NN |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP1, FortranOrdering > & |
A, |
|
|
const FullMatrix< T, SP2, COrdering > & |
B, |
|
|
const T & |
a2, |
|
|
FullMatrix< T, SP3, FortranOrdering > & |
C |
|
) |
| |
◆ matMulAdd_NN() [2/2]
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3>
void Opm::matMulAdd_NN |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP1, FortranOrdering > & |
A, |
|
|
const FullMatrix< T, SP2, FortranOrdering > & |
B, |
|
|
const T & |
a2, |
|
|
FullMatrix< T, SP3, FortranOrdering > & |
C |
|
) |
| |
◆ matMulAdd_NT()
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3>
void Opm::matMulAdd_NT |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP1, FortranOrdering > & |
A, |
|
|
const FullMatrix< T, SP2, FortranOrdering > & |
B, |
|
|
const T & |
a2, |
|
|
FullMatrix< T, SP3, FortranOrdering > & |
C |
|
) |
| |
◆ matMulAdd_TN()
template<typename T , template< typename > class SP1, template< typename > class SP2, template< typename > class SP3>
void Opm::matMulAdd_TN |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP1, FortranOrdering > & |
A, |
|
|
const FullMatrix< T, SP2, FortranOrdering > & |
B, |
|
|
const T & |
a2, |
|
|
FullMatrix< T, SP3, FortranOrdering > & |
C |
|
) |
| |
◆ matprod()
template<typename M >
M Opm::matprod |
( |
const M & |
m1, |
|
|
const M & |
m2 |
|
) |
| |
◆ operator<<() [1/4]
template<typename charT , class traits , bool F, bool S>
std::basic_ostream< charT, traits > & Opm::operator<< |
( |
std::basic_ostream< charT, traits > & |
os, |
|
|
const BasicBoundaryConditions< F, S > & |
bcs |
|
) |
| |
◆ operator<<() [2/4]
template<typename charT , class traits , typename T >
std::basic_ostream< charT, traits > & Opm::operator<< |
( |
std::basic_ostream< charT, traits > & |
os, |
|
|
const BCBase< T > & |
bc |
|
) |
| |
◆ operator<<() [3/4]
template<class charT , class traits , typename T , template< typename > class SP, class OP >
std::basic_ostream< charT, traits > & Opm::operator<< |
( |
std::basic_ostream< charT, traits > & |
os, |
|
|
const FullMatrix< T, SP, OP > & |
A |
|
) |
| |
Stream output operator for.
types.
- Template Parameters
-
charT | Output stream character type. |
traits | Output stream character traits. |
T | Matrix element type. |
SP | Matrix storage policy. |
OP | Matrix ordering policy. |
- Parameters
-
| os | Output stream. |
[in] | A | Matrix. |
- Returns
- Output stream (for output chaining).
◆ operator<<() [4/4]
template<typename charT , class traits >
std::basic_ostream< charT, traits > & Opm::operator<< |
( |
std::basic_ostream< charT, traits > & |
os, |
|
|
const PeriodicConditionHandler & |
pch |
|
) |
| |
◆ orthogonalizeColumns()
template<typename T , template< typename > class StoragePolicy>
int Opm::orthogonalizeColumns |
( |
FullMatrix< T, StoragePolicy, FortranOrdering > & |
A | ) |
|
◆ poreSatVolumes()
template<class GridInterface , class ReservoirProperties >
std::pair< double, double > Opm::poreSatVolumes |
( |
const GridInterface & |
grid, |
|
|
const ReservoirProperties & |
rp, |
|
|
const std::vector< double > & |
sat |
|
) |
| |
◆ prod() [1/2]
template<class Matrix , int rows>
Dune::FieldVector< typename Matrix::value_type, rows > Opm::prod |
( |
const Matrix & |
A, |
|
|
const Dune::FieldVector< typename Matrix::value_type, rows > & |
x |
|
) |
| |
◆ prod() [2/2]
template<class Matrix1 , class Matrix2 , class MutableMatrix >
void Opm::prod |
( |
const Matrix1 & |
A, |
|
|
const Matrix2 & |
B, |
|
|
MutableMatrix & |
C |
|
) |
| |
Compute C = AB. C must not overlap with A or B.
- Template Parameters
-
Matrix1 | a matrix type. |
Matrix2 | a matrix type. |
MutableMatrix | a matrix type with write access. |
- Parameters
-
[in] | A | left matrix of product. |
[in] | B | right matrix of product. |
[out] | C | resulting product matrix, it must already have the right size. |
◆ setupBoundaryConditions()
template<class GridInterface , class BCs >
void Opm::setupBoundaryConditions |
( |
const Opm::parameter::ParameterGroup & |
param, |
|
|
const GridInterface & |
g, |
|
|
BCs & |
bcs |
|
) |
| |
|
inline |
◆ setupGridAndProps() [1/2]
template<template< int > class ResProp>
void Opm::setupGridAndProps |
( |
const Opm::parameter::ParameterGroup & |
param, |
|
|
Dune::CpGrid & |
grid, |
|
|
ResProp< 3 > & |
res_prop |
|
) |
| |
|
inline |
◆ setupGridAndProps() [2/2]
template<template< int > class ResProp>
void Opm::setupGridAndProps |
( |
const Opm::parameter::ParameterGroup & |
param, |
|
|
Dune::SGrid< 3, 3 > & |
grid, |
|
|
ResProp< 3 > & |
res_prop |
|
) |
| |
|
inline |
◆ setupGridAndPropsEclipse()
template<template< int > class ResProp>
void Opm::setupGridAndPropsEclipse |
( |
Opm::DeckConstPtr |
deck, |
|
|
bool |
periodic_extension, |
|
|
bool |
turn_normals, |
|
|
bool |
clip_z, |
|
|
bool |
unique_bids, |
|
|
double |
perm_threshold, |
|
|
const std::string & |
rock_list, |
|
|
bool |
use_jfunction_scaling, |
|
|
double |
sigma, |
|
|
double |
theta, |
|
|
Dune::CpGrid & |
grid, |
|
|
ResProp< 3 > & |
res_prop |
|
) |
| |
|
inline |
◆ setupRegionBasedConditions()
template<class GridInterface , class BCs >
void Opm::setupRegionBasedConditions |
( |
const Opm::parameter::ParameterGroup & |
param, |
|
|
const GridInterface & |
g, |
|
|
BCs & |
bcs |
|
) |
| |
|
inline |
◆ setupUpscalingConditions()
template<class GridInterface , class BCs >
void Opm::setupUpscalingConditions |
( |
const GridInterface & |
g, |
|
|
int |
bct, |
|
|
int |
pddir, |
|
|
double |
pdrop, |
|
|
double |
bdy_sat, |
|
|
bool |
twodim_hack, |
|
|
BCs & |
bcs |
|
) |
| |
|
inline |
◆ storeFlowCond()
template<class BCs >
void Opm::storeFlowCond |
( |
BCs & |
bcs, |
|
|
const std::vector< BoundaryFaceInfo > & |
bfinfo, |
|
|
const std::array< FlowBC, 6 > & |
fconditions, |
|
|
const std::array< double, 6 > & |
side_areas |
|
) |
| |
◆ storeSatCond()
template<class BCs >
void Opm::storeSatCond |
( |
BCs & |
bcs, |
|
|
const std::vector< BoundaryFaceInfo > & |
bfinfo, |
|
|
const std::array< SatBC, 6 > & |
sconditions |
|
) |
| |
◆ symmetricUpdate() [1/2]
template<typename T , template< typename > class StoragePolicy>
void Opm::symmetricUpdate |
( |
const FullMatrix< T, StoragePolicy, FortranOrdering > & |
A, |
|
|
FullMatrix< T, StoragePolicy, FortranOrdering > & |
B |
|
) |
| |
◆ symmetricUpdate() [2/2]
template<typename T , template< typename > class StoragePolicy>
void Opm::symmetricUpdate |
( |
const T & |
a1, |
|
|
const FullMatrix< T, StoragePolicy, FortranOrdering > & |
A, |
|
|
const T & |
a2, |
|
|
FullMatrix< T, StoragePolicy, FortranOrdering > & |
C |
|
) |
| |
◆ trace()
template<class Matrix >
Matrix::value_type Opm::trace |
( |
const Matrix & |
A | ) |
|
Compute matrix trace (i.e., sum(diag(A))).
- Template Parameters
-
- Parameters
-
[in] | A | Matrix for which to compute the trace. |
- Returns
- Trace of matrix.
Referenced by Opm::MimeticIPEvaluator< GridInterface, RockInterface >::buildStaticContrib(), Opm::RockJfunc::capPress(), Opm::RockJfunc::capPressDeriv(), Opm::ReservoirPropertyCapillary< dim >::computeCflFactors(), Opm::MimeticIPEvaluator< GridInterface, RockInterface >::evaluate(), Opm::MimeticIPAnisoRelpermEvaluator< GridInterface, RockInterface >::getInverseMatrix(), and Opm::RockJfunc::satFromCapPress().
◆ useJ()
◆ useJ< ReservoirPropertyCapillary< 3 > >()
◆ vecMulAdd_N() [1/3]
template<typename T , template< typename > class SP>
void Opm::vecMulAdd_N |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP, COrdering > & |
A, |
|
|
const T * |
x, |
|
|
const T & |
a2, |
|
|
T * |
y |
|
) |
| |
◆ vecMulAdd_N() [2/3]
template<typename T , template< typename > class SP>
void Opm::vecMulAdd_N |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP, FortranOrdering > & |
A, |
|
|
const std::vector< T > & |
x, |
|
|
const T & |
a2, |
|
|
std::vector< T > & |
y |
|
) |
| |
◆ vecMulAdd_N() [3/3]
template<typename T , template< typename > class SP>
void Opm::vecMulAdd_N |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP, FortranOrdering > & |
A, |
|
|
const T * |
x, |
|
|
const T & |
a2, |
|
|
T * |
y |
|
) |
| |
◆ vecMulAdd_T() [1/2]
template<typename T , template< typename > class SP>
void Opm::vecMulAdd_T |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP, FortranOrdering > & |
A, |
|
|
const std::vector< T > & |
x, |
|
|
const T & |
a2, |
|
|
std::vector< T > & |
y |
|
) |
| |
◆ vecMulAdd_T() [2/2]
template<typename T , template< typename > class SP>
void Opm::vecMulAdd_T |
( |
const T & |
a1, |
|
|
const FullMatrix< T, SP, FortranOrdering > & |
A, |
|
|
const T * |
x, |
|
|
const T & |
a2, |
|
|
T * |
y |
|
) |
| |
◆ writeField()
void Opm::writeField |
( |
const std::vector< double > & |
field, |
|
|
const std::string & |
filename |
|
) |
| |
|
inline |
◆ writeVtkOutput()
template<class GridInterface , class ReservoirProperties , class FlowSol >
void Opm::writeVtkOutput |
( |
const GridInterface & |
ginterf, |
|
|
const ReservoirProperties & |
rp, |
|
|
const FlowSol & |
flowsol, |
|
|
const std::vector< double > & |
saturation, |
|
|
const std::string & |
filename |
|
) |
| |
◆ zero()
template<class Matrix >
void Opm::zero |
( |
Matrix & |
A | ) |
|
Zero-fill a.
.
- Template Parameters
-
- Parameters
-
A | Specific matrix which will be zero-filled upon return. |
Referenced by Opm::ReservoirPropertyCommon< dim, RPImpl, RockType >::assignPermeability(), Opm::Rock< dim >::assignPermeability(), Opm::MimeticIPAnisoRelpermEvaluator< GridInterface, RockInterface >::buildStaticContrib(), Opm::MimeticIPEvaluator< GridInterface, RockInterface >::buildStaticContrib(), Opm::MimeticIPEvaluator< GridInterface, RockInterface >::evaluate(), eye(), Opm::RockAnisotropicRelperm::kr(), and Opm::ReservoirPropertyFixedMobility< Mobility >::phaseMobility().
|