/*! \page creating_groups_page Creating groups \n In MESH you can create groups of elements of different types. To create a group of elements in the \b Mesh menu select Create Group. \n To create any group you should define the following: SALOME Platform distinguishes between the two Group types: Standalone Group and Group on Geometry.

Standalone Group

Standalone Group consists of mesh elements, which you can define in two possible ways. To remove a selected element or elements from the list click the \b Remove button. The Sort List button allows to sort the list of IDs of mesh elements. \n Select from set of fields allows to choose a submesh or an existing group whose elements of the previously defined type will be added to the list of elements which will form the new group. \n Color - allows to assign to the group a certain color, for example, defining boundary conditions. This feature introduces a useful element of preprocessing in Mesh module. Note that Color attribute defines the colors used for the display of the elements of the group. \n Warning The Med Color group interface may change in future versions of Salome. \image html creategroup.png For example, to create a new group containing all entities of the existing group and some other faces selected in the viewer: Please note that the new group does not have references to the source group. It contains only the list of face IDs. So if the old group will be changed, the new one will not be modified. \image html image130.gif
In this picture the brown cells belong to a group defined manually.
\image html image131.gif
In this picture the brown cells belong to the group defined by the criterion Taper > 0.
See Also a sample TUI Script of a \ref tui_create_standalone_group "Create a Standalone Group" operation.

Group on Geometry

To create a group on geometry check Group on geometry in the \b Group \b type field. Group on geometry contains the elements of a certain type belonging to the selected geometrical object. To define a group select in the Objet Browser or in the 3D viewer a geometrical object from which the elements will be taken. After confirmation of the operation a new group of mesh elements will be created. \image html a-creategroup.png \image html image132.gif
In this picture the cells which belong to a certain face are selected in green.
See Also a sample TUI Script of a \ref tui_create_group_on_geometry "Create a Group on Geometry" operation. */