deal.II version GIT relicensing-2165-gc91f007519 2024-11-20 01:40:00+00:00
|
#include <deal.II/base/config.h>
#include <deal.II/base/communication_pattern_base.h>
#include <deal.II/base/enable_observer_pointer.h>
#include <deal.II/base/memory_space.h>
#include <deal.II/base/memory_space_data.h>
#include <deal.II/base/mpi_stub.h>
#include <deal.II/base/numbers.h>
#include <deal.II/base/parallel.h>
#include <deal.II/base/partitioner.h>
#include <deal.II/lac/read_vector.h>
#include <deal.II/lac/vector_operation.h>
#include <deal.II/lac/vector_type_traits.h>
#include <iomanip>
#include <memory>
Go to the source code of this file.
Namespaces | |
namespace | LinearAlgebra |
namespace | LinearAlgebra::distributed |
namespace | internal |
namespace | internal::LinearOperatorImplementation |
Functions | |
template<typename Number , typename MemorySpace > | |
void | swap (LinearAlgebra::distributed::Vector< Number, MemorySpace > &u, LinearAlgebra::distributed::Vector< Number, MemorySpace > &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 1792 of file la_parallel_vector.h.