This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

mesh partitioner

+1 vote

Hello everybody,

I would like to partition my mesh before being distributed by using user-defined overlap.
Is this possible in fenics?

thanks!

asked May 26, 2016 by pepo_1 FEniCS Novice (280 points)

1 Answer

+1 vote

There is a facility to define the 'ghost level' when partitioning a mesh. You set the global parameter:
parameters["ghost_mode"] = "shared_vertex"

or "shared_facet".

answered May 27, 2016 by chris_richardson FEniCS Expert (31,740 points)

thanks!
is there also possibility to set overlap = 4 for example?
So let's say I have my mesh, how do I actually call this options?

auto mesh = std::make_shared(12, 16,16);
parameters["ghost_mode"] = "shared_facet"

...