... | @@ -31,7 +31,7 @@ Usage: ./GridGen ng nx ny nz [output.[p]vtk] |
... | @@ -31,7 +31,7 @@ Usage: ./GridGen ng nx ny nz [output.[p]vtk] |
|
## Running example
|
|
## Running example
|
|
If you compiled INMOST with `USE_MPI=ON` you can generate and save mesh in parallel. The following line will create 32x32x32 cubic grid using 4 processes:
|
|
If you compiled INMOST with `USE_MPI=ON` you can generate and save mesh in parallel. The following line will create 32x32x32 cubic grid using 4 processes:
|
|
```
|
|
```
|
|
$ cd examples/GridGen
|
|
$ cd Examples/GridGen
|
|
$ mpirun -np 4 ./GridGen 4 32 32 32 /tmp/grid-32-32-32.pvtk
|
|
$ mpirun -np 4 ./GridGen 4 32 32 32 /tmp/grid-32-32-32.pvtk
|
|
Cubic Grid: 32 x 32 x 32
|
|
Cubic Grid: 32 x 32 x 32
|
|
Processors: 4
|
|
Processors: 4
|
... | | ... | |