IFEM  90A354
Classes | Typedefs | Functions
PETScMatrix.h File Reference

Representation of the system matrix in PETSc format with interface to PETSc routines for assembling and solving linear equation systems. More...

#include "DomainDecomposition.h"
#include "SystemMatrix.h"
#include "PETScSupport.h"
#include "PETScSolParams.h"
#include <array>
#include <memory>
Include dependency graph for PETScMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PETScVector
 Class for representing the system vector in PETSc format. More...
 
class  PETScVectors
 Class for representing a set of system vectors in PETSc format. More...
 
class  PETScMatrix
 Class for representing the system matrix in PETSc format. More...
 

Typedefs

using PetscIntVec = std::vector< PetscInt >
 PETSc integer vector.
 
using PetscIntMat = std::vector< PetscIntVec >
 PETSc integer matrix.
 
using PetscRealVec = std::vector< PetscReal >
 PETSc real vector.
 
using ISVec = std::vector< IS >
 Index set vector.
 
using ISMat = std::vector< ISVec >
 Index set matrix.
 

Functions

PETScVector operator* (const SystemMatrix &A, const PETScVector &b)
 Matrix-vector product.
 
PETScVector operator/ (SystemMatrix &A, const PETScVector &b)
 Solve linear system.
 

Detailed Description

Representation of the system matrix in PETSc format with interface to PETSc routines for assembling and solving linear equation systems.

Date
Jan 15 2010
Author
Runar Holdahl / SINTEF