Distributed vector.
More...
#include <Vector.h>
Distributed vector.
- Template Parameters
-
T | Scalar type |
Container | data container type |
◆ Vector()
Create a distributed vector.
- Parameters
-
map | IndexMap for parallel distribution of the data |
bs | Block size |
◆ scatter_fwd()
Scatter local data to ghost positions on other ranks.
- Note
- Collective MPI operation
◆ scatter_fwd_begin()
void scatter_fwd_begin |
( |
| ) |
|
|
inline |
Begin scatter of local data from owner to ghosts on other ranks.
- Note
- Collective MPI operation
◆ scatter_fwd_end()
End scatter of local data from owner to ghosts on other ranks.
- Note
- Collective MPI operation
◆ scatter_rev()
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()
void scatter_rev_begin |
( |
| ) |
|
|
inline |
Start scatter of ghost data to owner.
- Note
- Collective MPI operation
◆ scatter_rev_end()
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
◆ set()
Set all entries (including ghosts)
- Parameters
-
[in] | v | The value to set all entries to (on calling rank) |
The documentation for this class was generated from the following file:
- /__w/dolfinx/dolfinx/cpp/dolfinx/la/Vector.h