rmf_convert_ijk_to_id: Convert ijk to id

View source: R/utils.R

rmf_convert_ijk_to_idR Documentation

Convert ijk to id

Description

Convert ijk to id

Usage

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'

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)

Value

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


rogiersbart/RMODFLOW documentation built on Jan. 14, 2023, 4:21 a.m.