extractMatrix.hpp File Reference
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <vector>
Include dependency graph for extractMatrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::Details
 

Functions

template<class Matrix >
void Opm::Details::copySubMatrix (const Matrix &A, const std::vector< int > &indices, Matrix &B)
 
template<class Matrix >
Matrix Opm::Details::extractMatrix (const Matrix &m, const std::vector< int > &indices)
 
template<class Vector >
Vector Opm::Details::extractVector (const Vector &x, const std::vector< int > &indices)
 
template<class Vector >
void Opm::Details::setGlobal (const Vector &x, const std::vector< int > &indices, Vector &global_x)
 
template<class Matrix >
bool Opm::Details::matrixEqual (const Matrix &m1, const Matrix &m2)