diff --git a/Mesh/meshPartition.cpp b/Mesh/meshPartition.cpp index 246839dbe3b98760407b0fcb9d14488795880ab0..246ff3c7958bc7bff055f72c99934c1c3affc8a7 100644 --- a/Mesh/meshPartition.cpp +++ b/Mesh/meshPartition.cpp @@ -296,8 +296,8 @@ int PartitionMesh(GModel *const model, meshPartitionOptions &options) model->recomputeMeshPartitions(); - if (options.createPartitionBoundaries) - CreatePartitionBoundaries (model, true); + if (options.createPartitionBoundaries || options.createGhostCells) + CreatePartitionBoundaries (model, options.createGhostCells); Msg::Info("Partitioning complete"); Msg::StatusBar(1, false, "Mesh"); diff --git a/Mesh/meshPartitionOptions.h b/Mesh/meshPartitionOptions.h index 78d4bb796ef75c2b29edc5531c0deed92fe71c8b..12f78efa7c6669778caaf05fff6fd835b9e36e5b 100644 --- a/Mesh/meshPartitionOptions.h +++ b/Mesh/meshPartitionOptions.h @@ -17,6 +17,7 @@ struct meshPartitionOptions int renumber; bool createPartitionBoundaries; + bool createGhostCells; //--Chaco @@ -107,6 +108,7 @@ struct meshPartitionOptions edge_matching = 3; refine_algorithm = 3; createPartitionBoundaries = true; + createGhostCells = true; } }; diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi index 06e227e8c85fad858be92a56658a9140694a5495..a36bcf915891ecadb2d428010816c8dd96c69ab0 100644 --- a/doc/texinfo/gmsh.texi +++ b/doc/texinfo/gmsh.texi @@ -4964,14 +4964,14 @@ image file. @item How can I save MPEG, AVI, ..., animations? -Yes, using scripts. Have a look at @file{tutorial/t8.geo} or +Using a script. Have a look at @file{tutorial/t8.geo} or @file{demos/anim.script} for some examples. @item Can I change values in input fields with the mouse in the GUI? Yes: dragging the mouse in a numeric input field slides the value! The -left button moves one step per pixel, the middle by 10 * step, and the -right button by 100 * step. +left button moves one step per pixel, the middle by `10*step', and the +right button by `100*step'. @item Can I copy messages to the clipboard? @@ -5047,7 +5047,7 @@ files in your main project file. @item What should I do when the 2D unstructured algorithm fails? Verify that the curves in the model do not self-intersect. If -Mesh.RandomFactor * size(triangle)/size(model) approaches machine +`Mesh.RandomFactor*size(triangle)/size(model)' approaches machine accuracy, increase Mesh.RandomFactor. If everything fails file a bug report with the version of your operating