|
GraphNet: Discrete element modeling for network connected materials
Applications to polymeric networks
|
This file includes the code to check whether an MPI implementation has been asked by the user and run the experiment accordingly. More...
#include <iostream>#include <cmath>#include <cstdlib>#include <math.h>#include <random>#include <time.h>#include <vector>#include <unistd.h>#include <algorithm>#include <ctime>#include <chrono>#include <fstream>#include <sstream>#include <string>#include <cstring>#include <stddef.h>#include <mpi.h>#include <assert.h>#include "mpi_network.h"
Macros | |
| #define | DECL_NET Network test_network(path, from_dump); |
Functions | |
| int | main (int argc, char *argv[]) |
This file includes the code to check whether an MPI implementation has been asked by the user and run the experiment accordingly.
| #define DECL_NET Network test_network(path, from_dump); |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
< Takes in 2 command line arguments,
[1] filename (string) of the .msh file generated by GMSH, this file creates the network
[2] MPI_flag (int) if want to run the code on MPI. Note the syntax for MPI runs.
Note: mpirun -np <numprocs> <executable> <filename.msh> 1
1.8.11