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

Classes

class  ChargeMpiTest

Functions

 TEST_F (ChargeMpiTest, reduce_diff_pools1)
 TEST_F (ChargeMpiTest, reduce_diff_pools2)
 TEST_F (ChargeMpiTest, rho_mpi)
 TEST_F (ChargeMpiTest, kin_r_mpi)
int main (int argc, char **argv)

Variables

auto sum_array

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST_F() [1/4]

TEST_F ( ChargeMpiTest ,
kin_r_mpi  )
Here is the call graph for this function:

◆ TEST_F() [2/4]

TEST_F ( ChargeMpiTest ,
reduce_diff_pools1  )
Here is the call graph for this function:

◆ TEST_F() [3/4]

TEST_F ( ChargeMpiTest ,
reduce_diff_pools2  )
Here is the call graph for this function:

◆ TEST_F() [4/4]

TEST_F ( ChargeMpiTest ,
rho_mpi  )
Here is the call graph for this function:

Variable Documentation

◆ sum_array

auto sum_array
Initial value:
= [](const double* v, const int& nv) {
double sum = 0;
for (int i = 0; i < nv; ++i)
{
sum += v[i];
}
return sum;
}