This subroutine makes the temporary of pointCoordinates unique, updates the triangle connectivity and sets the actual pointCoordinates to be the barycenters of the elements on the highest refinement level possible.
: IBM: Think about making the triangles unique as well!!! Currently only points are unique!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_surfData_type), | intent(inout) | :: | me | datatype to store the surface information |
||
real(kind=rk), | intent(in) | :: | all_pointCoords(:,:) | tmp point coordinates to be unified and stored in me |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | map2unique(size(all_pointCoords,2)) | ||||
type(grw_real2darray_type), | private | :: | pointCoords | ||||
type(dyn_longarray_type), | private | :: | uniqueTreeIDs | ||||
type(grw_intarray_type), | private | :: | grw_counter | ||||
integer, | private | :: | tmp_coord(4) | ||||
integer(kind=long_k), | private | :: | treeID | ||||
integer, | private | :: | pos | ||||
logical, | private | :: | wasAdded | ||||
type(treelmesh_type), | private | :: | loc_tree | ||||
real(kind=rk), | private | :: | minX | ||||
real(kind=rk), | private | :: | minY | ||||
real(kind=rk), | private | :: | minZ | ||||
real(kind=rk), | private | :: | maxX | ||||
real(kind=rk), | private | :: | maxY | ||||
real(kind=rk), | private | :: | maxZ | ||||
integer, | private | :: | iCoord | ||||
integer, | private | :: | iTria |