Reference documentation for deal.II version 9.4.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Typedefs | Functions
PETScWrappers::MPI Namespace Reference


class  BlockSparseMatrix
class  BlockVector
class  SparseMatrix
class  Vector


using size_type = types::global_dof_index


void swap (BlockVector &u, BlockVector &v)
void swap (Vector &u, Vector &v)

Detailed Description

Namespace for PETSc classes that work in parallel over MPI, such as distributed vectors and matrices.

Typedef Documentation

◆ size_type

Definition at line 26 of file

Function Documentation

◆ swap()

void swap ( Vector u,
Vector v 

Global function swap which overloads the default implementation of the C++ standard library which uses a temporary object. The function simply exchanges the data of the two vectors.

Definition at line 443 of file petsc_vector.h.