Opm::HelperOps Struct Reference

Contains vectors and sparse matrices that represent subsets or operations on (AD or regular) vectors of data. More...

#include <AutoDiffHelpers.hpp>

Public Types

typedef Eigen::SparseMatrix< double > M
 
typedef AutoDiffBlock< double >::V V
 
typedef Eigen::Array< int, Eigen::Dynamic, 1 > IFaces
 A list of internal faces.
 
typedef Eigen::Array< int, Eigen::Dynamic, 2, Eigen::RowMajor > TwoColInt
 Non-neighboring connections.
 

Public Member Functions

template<class Grid >
 HelperOps (const Grid &grid, const NNC &nnc=NNC())
 Constructs all helper vectors and matrices.
 

Public Attributes

IFaces internal_faces
 
ngrad
 Extract for each internal face the difference of its adjacent cells' values (first - second).
 
grad
 Extract for each face the difference of its adjacent cells' values (second - first).
 
caver
 Extract for each face the average of its adjacent cells' values.
 
div
 Extract for each cell the sum of its adjacent interior faces' (signed) values.
 
fullngrad
 Extract for each face the difference of its adjacent cells' values (first - second). More...
 
fulldiv
 Extract for each cell the sum of all its adjacent faces' (signed) values.
 
TwoColInt nnc_cells
 
nnc_trans
 The NNC transmissibilities.
 
TwoColInt connection_cells
 The set of all connections' cells (face or nnc).
 

Detailed Description

Contains vectors and sparse matrices that represent subsets or operations on (AD or regular) vectors of data.

Member Data Documentation

◆ fullngrad

M Opm::HelperOps::fullngrad

Extract for each face the difference of its adjacent cells' values (first - second).

For boundary faces, one of the entries per row (corresponding to the outside) is zero.


The documentation for this struct was generated from the following file: