of.group.cohelement#

of.group.cohelement *group_tag* <string> *method* <string> *region* <double, double, …> …

Parameters:

group_tag: tag of the group.

method:

-box.in/box.on/box.out

-circle.in/circle.on/circle.out

-plane.on/plane.above/plane.below

region:

The region for box can be set as

  • x [xmin xmax] y [ymin ymax] or

  • [xmin xmax ymin ymax]

The region for circle can be set as

  • center [x,y] radius or

  • [x,y,radius]

The region for plane can be set as

  • p1 [x0,y0] p2 [x1,y1] or

  • [x0,y0,x1,y1]

Note

  • rule 1: it is illegal to use the same tags for one type of entity.

  • rule 2: the node group also be inherited from your input mesh file.

  • rule 3: the node groups can be done before the mesh processing. The group information will be transferred to the new inserted nodes automatically.


Example:#

of.group.cohelement [rock] range box.in x [0,1] y [0,1]