) |
other) |
Flist) |
idx) |
idx) |
F.selectNodes([0,1]) + F.selectNodes([1,2]) + F.selectNodes([2,0])
) |
This is obviously a Formex with plexitude 1. It holds the same data as the original Formex, but in another shape: the number of points per element is 1, and the number of elements is equal to the total number of points. The properties are not copied over, since they will usually not make any sense.
F) |
This is also the subtraction of the current Formex with F. Elements are only removed if they have the same nodes in the same order. This is a slow operation: for large structures, you should avoid it where possible.
val) |
val is either a single integer, or a list/array of integers. The return value is a Formex holding all the elements that have the property val, resp. one of the values in val. The returned Formex inherits the matching properties.
If the Formex has no properties, a copy with all elements is returned.
) |
The returned Formex has two points for each element: two corners of the bbox.
self,rtol=1.e-4,atol=1.e-6) |
Two elements are considered equal when all its nodal coordinates are close. Two values are close if they are both small compared to atol or their difference divided by the second value is small compared to rtol. Two elements are not considered equal if one's elements are a permutation of the other's.
Warning: this operation is slow when performed on large Formices. Its use is decouraged.
) |
Reversing an element means reversing the order of its points.