build_adjacency Interface

interface
public module subroutine build_adjacency(self, mesh, nadj, adjacency)

Arguments

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

Instance of type

type(mesh_cart_t), intent(in) :: mesh

Mesh

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

Number of adjacent points for given point

integer, intent(out), dimension(self%np, 2) :: adjacency

Adjacency information, i.e. indices (of polygon) of up to two adjacent points If value is zero, no adjacent point could be determined

Description

Returns adjacency for given point list Note: The polygon must be sufficiently uniquely defined, i.e. there must be not more than 2 candidates as adjacent points for any point