#include <transfer.h>
|
| HTransSerial (int n_processes, HContainer< T > *hr_in) |
|
| ~HTransSerial () |
|
void | cal_ap_indexes (int irank, std::vector< int > *ap_indexes=nullptr) |
| calculate AtomPair indexes and will be send to irank called in plan_indexes
|
|
void | send_ap_indexes (int irank, MPI_Request *request=nullptr) |
| calculate AtomPair_indexes of hr_in and send to the ith rank
|
|
void | receive_orb_indexes (int irank, const int *orb_indexes_in=nullptr, const long &size_orb_indexes_in=0) |
| receive Orbital_indexes from the ith rank save to this->orb_indexes[irank]
|
|
void | send_data (int irank, MPI_Request *request=nullptr) |
| pack data in this->hr, and send to ith rank
|
|
void | receive_data (int irank, const T *values=nullptr) |
| receive data from ith rank, save them to this->hr
|
|
void | pack_data (int irank, T *values=nullptr) |
| pack BaseMatrix-values for ith rank
|
|
long | get_max_size () const |
|
void | get_value_size (int *out) const |
|
|
void | unpack_data (int irank, const T *values) |
| unpack BaseMatrix-values from ith rank
|
|
◆ HTransSerial()
◆ ~HTransSerial()
◆ cal_ap_indexes()
calculate AtomPair indexes and will be send to irank called in plan_indexes
- Parameters
-
◆ get_max_size()
◆ get_value_size()
◆ pack_data()
pack BaseMatrix-values for ith rank
- Parameters
-
◆ receive_data()
receive data from ith rank, save them to this->hr
- Parameters
-
◆ receive_orb_indexes()
void hamilt::HTransSerial< T >::receive_orb_indexes |
( |
int |
irank, |
|
|
const int * |
orb_indexes_in = nullptr , |
|
|
const long & |
size_orb_indexes_in = 0 |
|
) |
| |
receive Orbital_indexes from the ith rank save to this->orb_indexes[irank]
◆ send_ap_indexes()
calculate AtomPair_indexes of hr_in and send to the ith rank
- Parameters
-
◆ send_data()
pack data in this->hr, and send to ith rank
- Parameters
-
◆ unpack_data()
unpack BaseMatrix-values from ith rank
- Parameters
-
◆ hr
◆ orb_col_indexes
◆ orb_indexes
◆ orb_row_indexes
◆ size_values
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_hcontainer/transfer.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_hcontainer/transfer.cpp