Reference documentation for deal.II version 9.6.0
|
#include <deal.II/base/config.h>
#include <deal.II/base/aligned_vector.h>
#include <deal.II/base/communication_pattern_base.h>
#include <deal.II/base/index_set.h>
#include <deal.II/base/memory_consumption.h>
#include <deal.II/base/mpi_stub.h>
#include <deal.II/base/parallel.h>
#include <deal.II/base/subscriptor.h>
#include <deal.II/base/template_constraints.h>
#include <deal.II/base/types.h>
#include <deal.II/lac/read_vector.h>
#include <deal.II/lac/vector_operation.h>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <deal.II/lac/trilinos_epetra_communication_pattern.h>
#include <deal.II/lac/trilinos_epetra_vector.h>
#include <deal.II/lac/trilinos_tpetra_vector.h>
#include <Epetra_MultiVector.h>
Go to the source code of this file.
Classes | |
class | LinearAlgebra::ReadWriteVector< Number > |
class | LinearAlgebra::ReadWriteVector< Number >::FunctorTemplate< Functor > |
Namespaces | |
namespace | LinearAlgebra |
Functions | |
template<typename Number > | |
void | swap (LinearAlgebra::ReadWriteVector< Number > &u, LinearAlgebra::ReadWriteVector< Number > &v) noexcept |
|
inlinenoexcept |
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 1183 of file read_write_vector.h.