PETScWrappers::FullMatrix Class Reference
[PETScWrappersBasic matrices]

Inheritance diagram for PETScWrappers::FullMatrix:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 FullMatrix (const unsigned int m, const unsigned int n)
virtual const MPI_Comm & get_mpi_communicator () const


Detailed Description

Implementation of a sequential dense matrix class based on PETSC. All the functionality is actually in the base class, except for the calls to generate a sequential dense matrix. This is possible since PETSc only works on an abstract matrix type and internally distributes to functions that do the actual work depending on the actual matrix type (much like using virtual functions). Only the functions creating a matrix of specific type differ, and are implemented in this particular class.

Author:
Wolfgang Bangerth, 2004

Constructor & Destructor Documentation

PETScWrappers::FullMatrix::FullMatrix ( const unsigned int  m,
const unsigned int  n 
)

Create a full matrix of dimensions m times n.


Member Function Documentation

virtual const MPI_Comm& PETScWrappers::FullMatrix::get_mpi_communicator (  )  const [virtual]

Return a reference to the MPI communicator object in use with this matrix. Since this is a sequential matrix, it returns the MPI_COMM_SELF communicator.

Implements PETScWrappers::MatrixBase.


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

deal.II documentation generated on Sat Aug 15 16:52:43 2009 by doxygen 1.5.9