ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_read_wf2rho_pw.cpp File Reference
Include dependency graph for test_read_wf2rho_pw.cpp:

Classes

class  TestParameters
 Friend helper to mutate PARAM private members in unit tests. More...
class  ReadWfcRhoTest

Namespaces

namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void world_barrier ()
 Collectively synchronize the world communicator without direct MPI.
void module_charge::cal_rhog_symm (const int &spin_now, const Charge &CHR, const ModulePW::PW_Basis *pw, ModuleSymmetry::Symmetry &symm)
 Symmetrize one spin channel of the charge density.
void cal_ik2iktot (std::vector< int > &ik2iktot, const int &nks, const int &nkstot)
 TEST_F (ReadWfcRhoTest, ReadWfcRho)
 TEST_F (ReadWfcRhoTest, WriteWfcAppendMode)
int main (int argc, char **argv)

Function Documentation

◆ cal_ik2iktot()

void cal_ik2iktot ( std::vector< int > & ik2iktot,
const int & nks,
const int & nkstot )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ TEST_F() [1/2]

TEST_F ( ReadWfcRhoTest ,
ReadWfcRho  )
Here is the call graph for this function:

◆ TEST_F() [2/2]

TEST_F ( ReadWfcRhoTest ,
WriteWfcAppendMode  )
Here is the call graph for this function:

◆ world_barrier()

void world_barrier ( )

Collectively synchronize the world communicator without direct MPI.

Governance rule 9 forbids calling MPI routines directly, so the tests go through the guarded Parallel wrappers; the helper is a no-op in serial builds.

Here is the call graph for this function:
Here is the caller graph for this function: