**elset_split#

Description#

The **elset_split command is used to create parallel problem domains and write a problem.cut file based on different named elsets. Normally one would use an automated mesher such as **metis_split to do this, but the elset split ensures repeatability and fine control over the process.

Note

Any elements in the mesh which are not assigned to a domain using the *domain sub-option will be assigned to the 1st domain.

Syntax#

The command has the following syntax:

**elset_split \(~\,\) *domain elset-name1elset-nameN \(~\,\) [ *domain_starts_with stem ] \(~\,\) [ *no binary ]

*domain

create new domain made up of the given elset elements (1 domain per elset).

*domain_starts_with

is a shorthand to automatically enroll all domains whose name starts with the given stem.

*no_binary

indicates that no binary cut file should be written (default is to write the binary cut).

Note

**elset_partitionner is an alternative name of this command, and it does exactly the same.

Example#

There are some examples of this command in the Parallel_test directory.

****mesher
 ***delete_file mpc1b_small.geof
 ***shell Zrun -B mpc1b_small.mast
 ***mesh mpc1b_small
  **open mpc1b_small.geof
  **quad_to_lin

  **elset right *add_elset R2 R4
  **elset left  *add_elset R1 R3

  **elset_split
   *domain right left
   % or
   % *domain right
   % *domain left