KASKADE 7 development version
Classes | Namespaces | Functions
factorization.hh File Reference
#include <sstream>
#include <tuple>
#include <variant>
#include <vector>
#include <dune/grid/config.h>
#include "utilities/enums.hh"
#include "dune/istl/bcrsmatrix.hh"
#include "linalg/factorizationOptions.hh"
#include "linalg/factory.hh"
#include "linalg/triplet.hh"

Go to the source code of this file.

Classes

class  Kaskade::Factorization< Scalar >
 Abstract base class for matrix factorizations. More...
 
struct  Kaskade::Factorization< Scalar >::Info
 The Info struct provides output information of direct solvers. More...
 
struct  Kaskade::Factorization< Scalar >::Info::Mumps
 The Mumps struct provides output information specific to MUMPS. More...
 
struct  Kaskade::Creator< Factorization< Scalar > >
 Abstract base class for factorization creators to be plugged into a factorization factory. More...
 

Namespaces

namespace  Kaskade
 
 

Functions

template<class Scalar , class Index >
void Kaskade::tripletToCompressedColumn (Index nRows, Index nCols, size_t nNonZeros, std::vector< Index > const &ridx, std::vector< Index > const &cidx, std::vector< Scalar > const &values, std::vector< Index > &Ap, std::vector< Index > &Ai, std::vector< Scalar > &Az)
 Converts a matrix in triplet format to a compressed column format. More...
 
template<class Scalar , class Index >
std::unique_ptr< Factorization< Scalar > > Kaskade::getFactorization (DirectType directType, MatrixAsTriplet< Scalar, Index > const &A, FactorizationOptions options)
 Creates a factorization of the given triplet matrix. More...
 
template<class Scalar >
std::unique_ptr< Factorization< Scalar > > Kaskade::getFactorization (DirectType directType, Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > const &A, FactorizationOptions options)
 Creates a factorization of the given BCRSmatrix. More...
 
template<class Scalar , int n, int m, class Index >
std::unique_ptr< Factorization< Scalar > > Kaskade::getFactorization (DirectType directType, NumaBCRSMatrix< Dune::FieldMatrix< Scalar, n, m >, Index > const &A, FactorizationOptions options)
 Creates a factorization of the given NumaBCRS matrix. More...