Executable to build a unit cube, meshed with hexaedrons
mkdir build
cd build
cmake .. -DRINGMesh_INSTALL_PREFIX:STRING=path_to_RINGMesh
cd Release (or Debug)
make
It will make an executable named unit_cube.
./unit_cube nb_hexs=5 out:geomodel=unit_cube_5.gm
- nb_hexs = the number of hex in one direction (here you will have the unit cube meshed with 5x5x5 hexs). The mesh size will be computed by UnitCube (here 1./5 = 0.2)
- out:geomodel path to the outputed geomodel