build_segmentation Interface

interface
public module subroutine build_segmentation(self, nadj, kends)

Arguments

Type IntentOptional Attributes Name
class(polygon_in_mesh_t), intent(inout) :: self

Instance of type

integer, intent(in), dimension(self%np) :: nadj

Number of adjacent points for given point (from build_adjacency)

integer, intent(out), allocatable, dimension(:) :: kends

Polygon indices of end points of polygon segments

Description

Determines segmentation of polygon, i.e. if polygon is closed, number of segments, end points of segments