NetDEM v1.0
Loading...
Searching...
No Matches
main.cpp File Reference
#include "netdem.hpp"
#include <fstream>
#include <iostream>

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

main entry of the netdem app, (prospective) usage format:

  • serial run: netdem [input_file.json]
  • or parallel run: mpirun -np 2 netdem [input_file.json] to do:
    1. currently only work for serial run, will need to implement and invoke MPI
    2. will need to implement the serialization and de-serialization based on json
Examples
angle_repose_main.cpp, blade_mixing_main.cpp, contact_mechanics_main.cpp, deformable_particle_main.cpp, gjk_erosion_issue_main.cpp, landslide_main.cpp, netdem_main.cpp, odemetric_comp_main.cpp, polybezier_model_main.cpp, potential_models_main.cpp, random_packing_main.cpp, sdf_dem_main.cpp, shape_netsdf_main.cpp, and triaxial_comp_main.cpp.