Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

cbgeo-archives/mpm-point-generator

Repository files navigation

MPM Point Generator

License Build Status CLA assistant CircleCI codecov Coverity Scan DOI

Compile and Run

  1. Run mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release /path/to/CMakeLists.txt

  2. Run make clean && make -jN (where N is the number of cores)

  3. Run mpm ./mpm_point_generator -f /path/ -i json_file_name

  4. To test, run the two folloing

  • Unit tests: ./mpm_point_generator_unit_test
  • Regression tests: ./mpm_point_generator_regression_test /path/to/meshfile.msh

Usage

   ./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.

Referencing the code

To reference the code, please use the DOI: 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.