Dune::Amg::ParallelMatrix< M, IS, X, Y > Class Template Reference

#include <pmatrix.hh>

Inheritance diagram for Dune::Amg::ParallelMatrix< M, IS, X, Y >:

Dune::AssembledLinearOperator< M, X, Y > Dune::LinearOperator< X, Y > List of all members.

Detailed Description

template<class M, class IS, class X, class Y>
class Dune::Amg::ParallelMatrix< M, IS, X, Y >

Matrix together with information about the distribution between the processes.


Public Types

typedef M Matrix
 The type of the matrix.
typedef M matrix_type
 The type of the matrix.
typedef ParallelInformation<
IS > 
ParallelInformation
 The type of the index set.
typedef X domain_type
 The type of the domain of the operator.
typedef Y range_type
 The type of the range of the operator.
typedef X::field_type field_type
 The field type of the operator.

Public Member Functions

const Matrixgetmat () const
 Get the locally stored matrix.
const ParallelInformationinfo () const
 Get the index set that maps global indices to matrix rows.
void apply (const X &x, Y &) const
 apply operator to x: $ y = A(x) $ The input vector is consistent and the output must also be consistent on the interior+border partition.
void applyscaleadd (typename X::field_type a, const X &x, Y &) const
 apply operator to x, scale and add: $ y = y + \alpha A(x) $

Member Typedef Documentation

template<class M, class IS, class X, class Y>
typedef M Dune::Amg::ParallelMatrix< M, IS, X, Y >::matrix_type

The type of the matrix.

For use as an ISTL Operator.

Reimplemented from Dune::AssembledLinearOperator< M, X, Y >.


Member Function Documentation

template<class M, class IS, class X, class Y>
const Matrix& Dune::Amg::ParallelMatrix< M, IS, X, Y >::getmat (  )  const [inline, virtual]

Get the locally stored matrix.

Returns:
The locally stored matrix.

Implements Dune::AssembledLinearOperator< M, X, Y >.

template<class M, class IS, class X, class Y>
const ParallelInformation& Dune::Amg::ParallelMatrix< M, IS, X, Y >::info (  )  const [inline]

Get the index set that maps global indices to matrix rows.

Returns:
The index set.


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

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)