Convert ijk to id

rmf_convert_ijk_to_id(i, j, k, dis, type = "r")

Arguments

i

vector of row numbers

j

vector of column numbers

k

vector of layer numbers

dis

a discretization file object

type

'r' or 'modflow' specifying type of id. See details. Defaults to 'r'

Value

cell ids, providing the place of the cell in an input file 3d array

Details

a modflow id provides the place of the number in an input file 3d array (not like the way R uses ids for arrays or matrices; rows and columns are switched)