Public Member Functions

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

Definition at line 45 of file petsc_full_matrix.h.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:15 by doxygen 1.7.2