Distributed vector.
More...
#include <Vector.h>
template<typename T, class Allocator = std::allocator<T>>
class dolfinx::la::Vector< T, Allocator >
Distributed vector.
◆ norm()
template<typename T , class Allocator = std::allocator<T>>
Compute the norm of the vector.
- Note
- Collective MPI operation
- Parameters
-
type | Norm type (supported types are \(L^2\) and \(L^\infty\)) |
◆ scatter_fwd()
template<typename T , class Allocator = std::allocator<T>>
Scatter local data to ghost positions on other ranks.
- Note
- Collective MPI operation
◆ scatter_fwd_begin()
template<typename T , class Allocator = std::allocator<T>>
Begin scatter of local data from owner to ghosts on other ranks.
- Note
- Collective MPI operation
◆ scatter_fwd_end()
template<typename T , class Allocator = std::allocator<T>>
End scatter of local data from owner to ghosts on other ranks.
- Note
- Collective MPI operation
◆ scatter_rev()
template<typename T , class Allocator = std::allocator<T>>
Scatter ghost data to owner. This process may receive data from more than one process, and the received data can be summed or inserted into the local portion of the vector.
- Parameters
-
op | IndexMap operation (add or insert) |
- Note
- Collective MPI operation
◆ scatter_rev_begin()
template<typename T , class Allocator = std::allocator<T>>
Start scatter of ghost data to owner.
- Note
- Collective MPI operation
◆ scatter_rev_end()
template<typename T , class Allocator = std::allocator<T>>
End scatter of ghost data to owner. This process may receive data from more than one process, and the received data can be summed or inserted into the local portion of the vector.
- Parameters
-
op | The operation to perform when adding/setting received values (add or insert) |
- Note
- Collective MPI operation
◆ squared_norm()
template<typename T , class Allocator = std::allocator<T>>
Compute the squared L2 norm of vector.
- Note
- Collective MPI operation
The documentation for this class was generated from the following file:
- /__w/dolfinx/dolfinx/cpp/dolfinx/la/Vector.h