rmt_create_nam
creates an RMT3DMS
nam object.
rmt_create_nam( ..., ftl = { cat("Please select corresponding ftl file ...\n") file.choose() }, ftl_free = NULL, print = FALSE, basename = NULL )
... | RMT3DMS objects to be included in the nam file |
---|---|
ftl | path to the flow-transport link file; typically '.ftl' |
ftl_free | logical; is the flow-transport link file written in free (formatted) format (TRUE) or binary (unformatted) (FALSE)? if NULL (default), it is guessed from reading |
logical; should the contents of the flow-transport link file be printed to the listing file? Defaults to FALSE. |
|
basename | character specifying the basename of the files. The default ( |
Object of class mt3d_nam
If a RMT3DMS nam
object is present, it is recreated.
It is advised to place the ftl file in the same directory as the transport model input files.
The path the flow-transport link file is normalized in rmt_write_nam
.
btn <- rmt_create_btn() adv <- rmt_create_adv() gcg <- rmt_create_gcg() rmt_create_nam(btn, adv, gcg, ftl = 'output.ftl', ftl_free = TRUE)#> ftype nunit fname options #> 1 LIST 50 output.m3d <NA> #> 2 FTL 51 output.ftl FREE #> 3 BTN 52 input.btn <NA> #> 4 ADV 53 input.adv <NA> #> 5 GCG 54 input.gcg <NA>