TridiagonalMatrix.hpp File Reference

Provides a tridiagonal matrix that also supports non-zero entries in the upper right and lower left. More...

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <assert.h>
Include dependency graph for TridiagonalMatrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Opm::TridiagonalMatrix< Scalar >
 Provides a tridiagonal matrix that also supports non-zero entries in the upper right and lower left. More...
 

Namespaces

 Opm
 

Functions

template<class Scalar >
std::ostream & operator<< (std::ostream &os, const Opm::TridiagonalMatrix< Scalar > &mat)
 

Detailed Description

Provides a tridiagonal matrix that also supports non-zero entries in the upper right and lower left.

The entries in the lower left and upper right are supported to make implementing periodic systems easy.

The API of this class is designed to be close to the one used by the DUNE matrix classes.

Function Documentation

template<class Scalar >
std::ostream& operator<< ( std::ostream &  os,
const Opm::TridiagonalMatrix< Scalar > &  mat 
)