Commit aa075941 authored by Kirill Terekhov's avatar Kirill Terekhov

GridGen

option for prismatic grid with same directions
parent 3ebbf05e
...@@ -227,7 +227,7 @@ Mesh * ParallelGenerator(INMOST_MPI_Comm comm, int ng, int nx, int ny, int nz) ...@@ -227,7 +227,7 @@ Mesh * ParallelGenerator(INMOST_MPI_Comm comm, int ng, int nx, int ny, int nz)
{ {
CreateCubeElement(m,verts); CreateCubeElement(m,verts);
} }
else if ((i + j) % 2 == 0) // Create two prism cells else if ((i + j) % 2 == 0 || ng == 6) // Create two prism cells
{ {
CreateNWPrismElements(m,verts); CreateNWPrismElements(m,verts);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment