dominant_tile_index Function

private pure function dominant_tile_index(land_entry, patch) result(dominant_index)

Index of the tile with the largest area fraction in the grid cell described by land_entry. Ties go to the first such tile.

Arguments

Type IntentOptional Attributes Name
type(land_type), intent(in) :: land_entry
type(patch_type), intent(in) :: patch(:)

Return Value integer