ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
charge_mpi_test.cpp File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_base/matrix3.h"
#include "source_base/parallel_global.h"
#include "source_estate/module_charge/charge.h"
#include "source_hamilt/module_xc/xc_functional.h"
#include "source_io/module_parameter/parameter.h"
Include dependency graph for charge_mpi_test.cpp:

Classes

class  ChargeMpiTest
 

Macros

#define private   public
 

Functions

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

Variables

auto sum_array
 

Macro Definition Documentation

◆ private

#define private   public

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/3]

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

◆ TEST_F() [2/3]

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

◆ TEST_F() [3/3]

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;
}