Reference documentation for deal.II version 9.0.0
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 503 of file petsc_parallel_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 424 of file petsc_parallel_vector.h.