ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hcontainer_funcs.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace hamilt
6{
15template<typename TR>
17 std::complex<double>* hk,
18 const ModuleBase::Vector3<double>& kvec_d_in,
19 const int hk_ld,
20 const int hk_type);
21
23 double* hk,
24 const ModuleBase::Vector3<double>& kvec_d_in,
25 const int hk_ld,
26 const int hk_type);
27
28#ifdef __MPI
35template<typename TR>
38 const int serial_rank);
45template<typename TR>
48 const int serial_rank);
49
55template<typename TR>
58
64template<typename TR>
67
75template<typename TR>
78 const int serial_rank);
79
80#endif // __MPI
81
82} // namespace hamilt
3 elements vector
Definition vector3.h:22
Definition hcontainer.h:144
Definition hamilt.h:12
void transferParallels2Serial(const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s, const int serial_rank)
transfer the HContainer from parallel object to serial object
Definition func_transfer.cpp:120
void gatherParallels(const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s, const int serial_rank)
gather the HContainer from all parallel objects to target serial object the serial object should be e...
Definition func_transfer.cpp:590
void transferSerials2Parallels(const hamilt::HContainer< TR > &hR_s, hamilt::HContainer< TR > *hR_p)
transfer the HContainer from all serial objects to all parallel objects
Definition func_transfer.cpp:223
void transferSerial2Parallels(const hamilt::HContainer< TR > &hR_s, hamilt::HContainer< TR > *hR_p, const int serial_rank)
transfer the HContainer from serial object to parallel object
Definition func_transfer.cpp:13
void folding_HR(const hamilt::HContainer< TR > &hR, std::complex< double > *hk, const ModuleBase::Vector3< double > &kvec_d_in, const int hk_ld, const int hk_type)
calculate the Hk matrix with specific k vector
Definition func_folding.cpp:15
void transferParallels2Serials(const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s)
transfer the HContainer from all serial objects to all parallel objects
Definition func_transfer.cpp:407