rmf_write: Write a MODFLOW model

View source: R/modflow.R

rmf_writeR Documentation

Write a MODFLOW model

Description

rmf_write writes all input packages in a RMODFLOW modflow object to a directory

Usage

rmf_write(
  modflow,
  file = {
    
    cat("Please select nam file to overwrite or provide new filename ...\n")
    
    file.choose()
 },
  exclude = NULL,
  suppress = FALSE,
  verbose = TRUE,
  iprn = -1
)

Arguments

modflow

RMODFLOW modflow object

file

filename of the name file to write

exclude

character vector with packages names to exclude from the simulation. Defaults to NULL

suppress

logical; remove non-supported (and thus not written) packages in the NAME file ? Defaults to FALSE

verbose

logical; should information on writing files be printed to the console ? Defaults to TRUE.

iprn

format code for printing arrays in the listing file; defaults to -1 (no printing)

Details

All arrays use free-format headers INTERNAL or CONSTANT All packages will be written according to the filenames (fname) defined in the nam object. To prevent any files being overwritten, it is best to write to an empty directory.

Value

NULL

See Also

rmf_create, rmf_write and http://water.usgs.gov/nrp/gwsoftware/modflow2000/MFDOC/index.html


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