Reference documentation for deal.II version 9.5.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\}}\)
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 28 of file petsc_parallel_block_vector.cc.

Function Documentation

◆ swap() [1/2]

void swap ( BlockVector u,
BlockVector v 
)
inline

Global function 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 663 of file petsc_block_vector.h.

◆ swap() [2/2]

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 426 of file petsc_vector.h.