Returns cell index from a given X coordinate. Maximum number is nx - 1 Returns -1 if a given coordinate is outside the surface
See Implementation
Returns cell index from a given X coordinate. Maximum number is nx - 1 Returns -1 if a given coordinate is outside the surface