The following function provides the coordinates of the end for a given ID in the complete mesh. The described element lies between the origin and this end point.
The end point of the element with a given ID coincides with the origin of treeID with a coordinate shift of +1 in each dimension.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(treelmesh_type), | intent(in) | :: | tree | mesh information |
||
| integer(kind=long_k), | intent(in) | :: | TreeID | input element ID |
origin return value
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | coord(4) | ||||
| real(kind=rk), | private | :: | dx |