#include "testParticleLib.h"
#include "util/io.h"
#include "util/parallelUtil.h"
#include <fmt/format.h>
Go to the source code of this file.
◆ main()
Definition at line 16 of file testParticle.cpp.
16 {
17
18
21 util::io::print(fmt::format(
"Initialized MPI. MPI size = {}, MPI rank = {}\n", mpiSize, mpiRank));
23
25
26 return EXIT_SUCCESS;
27}
void testTransform()
Perform test on Fracture class and check if bitwise functions are working correctly.
std::string printStr(const T &msg, int nt=print_default_tab)
Returns formatted string for output.
void print(const T &msg, int nt=print_default_tab, int printMpiRank=print_default_mpi_rank)
Prints formatted information.
const MpiStatus * getMpiStatus()
Returns pointer to MpiStatus struct.
void initMpi(int argc=0, char *argv[]=nullptr)
Initializes MPI and also creates MpiStatus struct.
int mpiSize()
Get size (number) of processors.
int mpiRank()
get rank (id) of this processor
References util::parallel::getMpiStatus(), util::parallel::initMpi(), util::parallel::mpiRank(), util::parallel::mpiSize(), util::io::print(), and test::testTransform().