Reference documentation for deal.II version Git d9b14c2d54 2019-09-14 18:13:29 -0600
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Classes | Functions
PETScWrappers::MPI Namespace Reference

Classes

class  BlockSparseMatrix
 
class  BlockVector
 
class  SparseMatrix
 
class  Vector
 

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.

Author
Wolfgang Bangerth, 2004

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.

Author
Wolfgang Bangerth, 2000

Definition at line 501 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.

Author
Wolfgang Bangerth, 2004

Definition at line 438 of file petsc_vector.h.