This subroutine takes the sorted list as an input and unifies its entries the result is used to create a unique array of vertex coordinates and a map for the 8 vertices of each element.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=long_k), | intent(inout), | allocatable | :: | inList(:) | ||
| integer(kind=long_k), | intent(inout), | allocatable | :: | origList(:) | ||
| type(grw_real2darray_type) | :: | coord | ||||
| integer, | intent(inout), | allocatable | :: | map(:,:) | ||
| type(treelmesh_type), | intent(in) | :: | tree | |||
| integer, | intent(in) | :: | nElems | |||
| integer, | intent(in) | :: | nUnique | number of unique vertices (from q-Values) |
||
| logical, | intent(in) | :: | refine(:) |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | count1 | ||||
| integer, | private | :: | count2 | ||||
| integer, | private | :: | iElem | ||||
| integer, | private | :: | iVrtx | ||||
| integer, | private | :: | pos | ||||
| integer, | private | :: | counter | ||||
| type(grw_longarray_type), | private | :: | unique | ||||
| real(kind=rk), | private | :: | tmp_vrtx(3) |