Skip to content
Snippets Groups Projects
Commit 33b8f132 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add option to save ghost cells

parent a7b2a59d
No related branches found
No related tags found
No related merge requests found
...@@ -296,8 +296,8 @@ int PartitionMesh(GModel *const model, meshPartitionOptions &options) ...@@ -296,8 +296,8 @@ int PartitionMesh(GModel *const model, meshPartitionOptions &options)
model->recomputeMeshPartitions(); model->recomputeMeshPartitions();
if (options.createPartitionBoundaries) if (options.createPartitionBoundaries || options.createGhostCells)
CreatePartitionBoundaries (model, true); CreatePartitionBoundaries (model, options.createGhostCells);
Msg::Info("Partitioning complete"); Msg::Info("Partitioning complete");
Msg::StatusBar(1, false, "Mesh"); Msg::StatusBar(1, false, "Mesh");
......
...@@ -17,6 +17,7 @@ struct meshPartitionOptions ...@@ -17,6 +17,7 @@ struct meshPartitionOptions
int renumber; int renumber;
bool createPartitionBoundaries; bool createPartitionBoundaries;
bool createGhostCells;
//--Chaco //--Chaco
...@@ -107,6 +108,7 @@ struct meshPartitionOptions ...@@ -107,6 +108,7 @@ struct meshPartitionOptions
edge_matching = 3; edge_matching = 3;
refine_algorithm = 3; refine_algorithm = 3;
createPartitionBoundaries = true; createPartitionBoundaries = true;
createGhostCells = true;
} }
}; };
......
...@@ -4964,14 +4964,14 @@ image file. ...@@ -4964,14 +4964,14 @@ image file.
@item How can I save MPEG, AVI, ..., animations? @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. @file{demos/anim.script} for some examples.
@item Can I change values in input fields with the mouse in the GUI? @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 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 left button moves one step per pixel, the middle by `10*step', and the
right button by 100 * step. right button by `100*step'.
@item Can I copy messages to the clipboard? @item Can I copy messages to the clipboard?
...@@ -5047,7 +5047,7 @@ files in your main project file. ...@@ -5047,7 +5047,7 @@ files in your main project file.
@item What should I do when the 2D unstructured algorithm fails? @item What should I do when the 2D unstructured algorithm fails?
Verify that the curves in the model do not self-intersect. If 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. accuracy, increase Mesh.RandomFactor.
If everything fails file a bug report with the version of your operating If everything fails file a bug report with the version of your operating
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment