Reference documentation for deal.II version 9.4.1
\(\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\}}\)
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
PETScWrappers::MPI Namespace Reference

Classes

class  BlockSparseMatrix
 
class  BlockVector
 
class  SparseMatrix
 
class  Vector
 

Typedefs

using size_type = types::global_dof_index
 

Functions

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 petsc_parallel_block_vector.cc.

Function Documentation

◆ swap()

void swap ( Vector u,
Vector v 
)
inline

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.