rmf_cell_coordinates: Generic functions to get cell coordinates

View source: R/utils.R

rmf_cell_coordinatesR Documentation

Generic functions to get cell coordinates

Description

Generic functions to get cell coordinates

Usage

rmf_cell_coordinates(...)

## S3 method for class 'dis'
rmf_cell_coordinates(dis, prj = rmf_get_prj(dis), include_faces = FALSE)

## S3 method for class 'huf'
rmf_cell_coordinates(
  huf,
  dis = NULL,
  prj = rmf_get_prj(dis),
  include_faces = FALSE
)

rmf_get_cell_coordinates(...)

## S3 method for class 'dis'
rmf_get_cell_coordinates(dis, i, j, k, ...)

## S3 method for class 'huf'
rmf_get_cell_coordinates(huf, i, j, k, ...)

Arguments

...

additional arguments passed to rmf_cell_coordinates

dis

dis object, corresponding to the huf object

prj

projection file object

include_faces

logical; should face coordinates be included?

huf

huf object

i

row indices of required cell(s)

j

column indices of required cell(s)

k

layer indices of required cell(s)

Value

rmf_cell_coordinates returns a list with with cell center x y and z coordinate as 3d arrays and optionally, the face coordinates of all cells

3d array with cell coordinates

rmf_get_cell_coordinates returns a data frame with the coordinates of specified cells


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