**scotch_split#

Description#

This engine splits a given mesh through the following process by: i) build a graph representation of the mesh connectivity and, ii) call an external graph splitting library. Here, the mesh partitionning library used is the Scotch package developed by François Pellegrini at INRIA Bordeaux (France). Information on the Scotch graph partitioner is available on Web at the link: https://www.labri.fr/perso/pelegrin/scotch/.

Note

The use of this tool requires the Metis interface to be compiled, which can be checked by the presence of libZScotch in your library path.

Syntax#

The command has the following syntax:

**scotch_split [ *domains num ] [ *split_by_face num ] [ *split_by_node num ] [ *weight_by_elsets nb_sets set\(_1 ~ \omega_1\) set\(_2 ~ \omega_2\) ]

*domains

specifies the number of sub-domains to be used. In the absence of this subcommand, the default value of 12 will be taken.

*split_by_face

build a graph representation of the mesh based on faces connectivity, which implies that an edge will be created between two vertex (elements) whenever the corresponding elements share a common face (in 3d) or edge (in 2d). This guarantee that generated subdomains will not exhibit elements attached by less than a face in 3d or less than an edge in 2d and therefore avoid the use of extra check procedure such as *check_domains. This is the default behavior.

*split_by_node

build a graph representation of the mesh based on nodes connectivity, which implies that an edge will be created between two vertex (elements) whenever the corresponding elements share a common node. Although this speeds up the graph generation, such option should be used with care as it does not guarantee that generated subdomains will not exhibit elements attached by less than a face in 3d or less than an edge in 2d. The two previous commands are mutually exclusive.

*weight_by_elsets

gives the possibility to add weights to the elements in order to get a better load balancing. Typically, a large weights may be attributed to elements with highly nonlinear material law.