refineGeometry{

refine the triangulation of the specified part of the geometry

begin_boundary_elements{} include{FileName}, ..., refineGeometry{ lengthThreshold, optional: maxCycles } manipulate{"someAlias"}, ..., refineGeometry{ lengthThreshold, optional: maxCycles } end_boundary_elements
As a counterpart to coarsenGeometry{, this command refines the triangulation of the boundary by splitting triangles until no side length is larger than the specified value of lengthThreshold or until the upper limit of refinement cycles maxCycles is reached. The splitting is done by creating a new node point at the middle point of the longest side of the triangle. Notes:
  • If maxCycles is not given, the default value is equal to COMP_refineGeometry_MaxCycles.
  • All boundary elements of type BND_quad which are affected by this command will be split into triangles before the refinement is started.
Example: Automatically discretize a plain boundary element
begin_boundary_elements{} BND_quad &MeasurementPlane& 0 0 0 0 1 0 0 1 1 0 0 1 manipulate{"MeasurementPlane"} refineGeometry{&lengthThreshold&, &maxCycles&} end_boundary_elements