geometry refine command

Syntax

geometry refine <i > <range>

Refine the triangular or quadrilateral polygons in the geometric set into smaller versions.

A very simple refinment of the geometry data is performed. Each triangle in the set is replaced by four smaller triangles by adding a new node to the midpoint of each edge. Each quadrilateral is replaced by four smaller quadrilaterals by adding a new node to the midpoint of each edge and an additional node to the centroid.

The optional index i allows multiple levels of refinement to be specified. The default level is 1. If more than one is specified, then the refinement is done recursively. Only a maximum of 4 levels may be applied at once – a very large number of polyons may be created very quickly even then.