Facet constraint is set on facet by specifying the boundary marker which is the integer assigned that facet in the corresponding .poly or .smesh file. Segment constraint is set to a segment by specifying two indices of endpoints of the segment.
The following example illustrates the layout of a .var file. It can be used together with the included file ``example.poly''.
# Facet constraints
1 # 1 constraint
1 2 0.5 # Set maximum area constraint (0.5) on all facets
# having boundary marker 2.
# Segment constraints
10 # 10 constraints
1 32 33 0.05 # Set maximum edge length constraint (0.05) on
# segment with endpoints 32 and 33.
2 33 34 0.05
3 34 35 0.05
4 35 36 0.05
5 36 37 0.05
6 37 38 0.05
7 38 39 0.05
8 39 40 0.05
9 40 41 0.05
10 41 42 0.05