Opm::Elasticity::MatrixOps Class Reference Helper class with some matrix operations. More...
Detailed DescriptionHelper class with some matrix operations. Member Function Documentation◆ augment()
Augment a matrix with another.
◆ Axpy()
axpy like operation - returns A+alpha*B
◆ diagonal()
Returns a diagonal matrix.
Referenced by Opm::Elasticity::if(). ◆ extractBlock()
Extract a subblock of a matrix into a new matrix.
◆ extractDiagonal()Extract the diagonal of a matrix into a new matrix.
◆ fromAdjacency()
Create a sparse matrix from a given adjacency pattern.
Referenced by Opm::Elasticity::ASMHandler< GridType >::initForAssembly(). ◆ fromDense()
Create a sparse matrix from a dense matrix.
Referenced by Opm::Elasticity::if(). ◆ print()
Print a matrix to stdout.
Referenced by Opm::Elasticity::ASMHandler< GridType >::printOperator(). ◆ saveAsc()
Save a matrix as a dense asc file.
This is only useful for debugging as the files grow very big The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||