18 {
19
20
23 util::io::print(fmt::format(
"Initialized MPI. MPI size = {}, MPI rank = {}\n", mpiSize, mpiRank));
25
27
28 if (input.cmdOptionExists("-h") or !input.cmdOptionExists("-i")) {
29
32 << ") -i <data-filepath>" << std::endl;
33 exit(EXIT_FAILURE);
34 }
35
36
37 std::string filepath = input.getCmdOption("-i");
38
39
40
41
42 {
43
44 for (size_t i = 1; i < 6; i++)
46
47
48 for (size_t i = 1; i < 6; i++)
50
51
52 for (size_t i = 1; i < 6; i++)
54
55
56 for (size_t i = 1; i < 4; i++)
58
59
60 if (false) {
61 for (size_t i = 1; i < 6; i++) {
63
65
67
69 }
70 }
71 }
72
73 return EXIT_SUCCESS;
74}
size_t const MINOR_VERSION
size_t const UPDATE_VERSION
size_t const MAJOR_VERSION
void testTriElemTime(size_t n, size_t N)
Computes the time needed when quad data for elements are stored and when they are computed as and whe...
void testLineElem(size_t n, std::string filepath)
Perform test on quadrature points on line elements (NOT IMPLEMENTED)
void testTetElem(size_t n, std::string filepath)
Perform test on quadrature points on tetrahedral elements.
void testQuadElem(size_t n, std::string filepath)
Perform test on quadrature points on quadrangle elements.
void testTriElem(size_t n, std::string filepath)
Perform test on quadrature points on triangle elements.
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