-
Run
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release /path/to/CMakeLists.txt
-
Run
make clean && make -jN
(where N is the number of cores) -
Run mpm
./mpm_point_generator -f /path/ -i json_file_name
-
To test, run the two folloing
- Unit tests:
./mpm_point_generator_unit_test
- Regression tests:
./mpm_point_generator_regression_test /path/to/meshfile.msh
./mpm_point_generator [-i <input_file>] -f <Working_folder> [--]
[--version] [-h]
where:
-i <input_file>, --input_file <input_file>
Input JSON file [cube.json]
-f <Working_folder>, --working_dir <Working_folder>
(required) Current working folder
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
To reference the code, please use the DOI:
Wilkes, C., Tjung, E., Kumar., K (2018) CB-Geo MPM point generator, version 1.0-alpha, https://github.com/cb-geo/mpm-point-generator, doi://10.5281/zenodo.1450330.