Skip to content

Commit

Permalink
Update Docs/Model/Output Writers to replace FieldSlicer -> indices (
Browse files Browse the repository at this point in the history
#3350)

* update docs to replace FieldSlicer with indices

* Update docs/src/model_setup/output_writers.md

Co-authored-by: Navid C. Constantinou <[email protected]>

---------

Co-authored-by: Navid C. Constantinou <[email protected]>
  • Loading branch information
xkykai and navidcy authored Oct 23, 2023
1 parent d0b7ec8 commit 80ce6ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/model_setup/output_writers.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ The `Checkpointer` is discussed on a separate documentation page.

Other important keyword arguments are

* `field_slicer::FieldSlicer` for outputting subregions, two- and one-dimensional slices of fields.
By default a `FieldSlicer` is used to remove halo regions from fields so that only the physical
portion of model data is saved to disk.
* `indices` for outputting subregions, two- and one-dimensional slices of fields. Specifies the indices to write to disk with a `Tuple` of `Colon`, `UnitRange`,or `Int` elements. For example, `indices = (:, :, 1)` implies outputing ``x-y``-slices of the bottom-most index (`k=1`). Defaults to `(:, :, :)`, i.e., "all indices".
* `with_halos :: Boolean`: whether to output the halos (`true`) or only the interior points (`false`; default).

* `array_type` for specifying the type of the array that holds outputted field data. The default is
`Array{Float64}`, or arrays of single-precision floating point numbers.
Expand Down

0 comments on commit 80ce6ed

Please sign in to comment.