|
| HypreParVector (const HypreParVector &other)=delete |
|
| HypreParVector (const LocalRangeType &localRange, IndexType ghosts, IndexType globalSize, MPI_Comm communicator, LocalViewType localData) |
| Initialization by raw data.
|
|
| HypreParVector (hypre_ParVector *handle, bool take_ownership=true) |
| Convert Hypre's format to HypreParVector.
|
|
| HypreParVector (HypreParVector &&other) noexcept |
|
void | bind (const LocalRangeType &localRange, IndexType ghosts, IndexType globalSize, MPI_Comm communicator, LocalViewType localData) |
| Drop previously set data (deallocate if the vector was the owner) and bind to the given data (i.e., the vector does not become the owner).
|
|
void | bind (hypre_ParVector *handle, bool take_ownership=true) |
| Convert Hypre's format to HypreParVector.
|
|
void | bind (HypreParVector &vector) |
|
void | bind (VectorType &vector) |
|
void | bind (ViewType view) |
|
MPI_Comm | getCommunicator () const |
| Return the MPI communicator.
|
|
ConstLocalViewType | getConstLocalView () const |
|
ConstLocalViewType | getConstLocalViewWithGhosts () const |
|
ConstViewType | getConstView () const |
|
IndexType | getGhosts () const |
|
LocalRangeType | getLocalRange () const |
|
LocalViewType | getLocalView () |
|
LocalViewType | getLocalViewWithGhosts () |
|
HYPRE_Int | getSize () const |
| Returns the global size of the vector.
|
|
std::shared_ptr< SynchronizerType > | getSynchronizer () const |
|
int | getValuesPerElement () const |
|
ViewType | getView () |
|
| operator hypre_ParVector * () const |
| Typecasting to Hypre's hypre_ParVector* (which is equivalent to HYPRE_ParVector*)
|
|
HypreParVector & | operator= (const HypreParVector &other)=delete |
|
HypreParVector & | operator= (HypreParVector &&other) noexcept |
|
void | reset () |
| Reset the vector to empty state.
|
|
void | setDistribution (LocalRangeType localRange, IndexType ghosts, IndexType globalSize, const MPI::Comm &communicator) |
|
void | setSynchronizer (std::shared_ptr< SynchronizerType > synchronizer, int valuesPerElement=1) |
|
void | setValue (RealType value) |
| Set all elements of the vector to value.
|
|
void | startSynchronization () |
|
void | waitForSynchronization () const |
|