ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
parallel_common_test.cpp File Reference
#include "source_base/parallel_common.h"
#include "mpi.h"
#include "gtest/gtest.h"
#include <complex>
#include <cstring>
#include <string>
Include dependency graph for parallel_common_test.cpp:

Classes

class  MPIContext
class  ParaCommon

Functions

 TEST_F (ParaCommon, Bcast)
 TEST_F (ParaCommon, BcastMPIOffsetOnCommunicator)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST_F() [1/2]

TEST_F ( ParaCommon ,
Bcast  )
Here is the call graph for this function:

◆ TEST_F() [2/2]

TEST_F ( ParaCommon ,
BcastMPIOffsetOnCommunicator  )

bcast_mpi_offset broadcasts from the root of the communicator it is given, not from world rank 0. The MDCell STRU writer relies on this to share the write position within its own (possibly non-world) communicator.

Here is the call graph for this function: