cart_to_mesh_index Interface

interface
public module function cart_to_mesh_index(self, i, j)

Arguments

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

Instance of the type

integer, intent(in) :: i

Horizontal Cartesian index

integer, intent(in) :: j

Vertical Cartesian index

Return Value integer

Description

Given Cartesian indizes (i,j) returns mesh index if no point could be found 0 is returned