Getting started
BOUT++ models
Model inputs
Model outputs
BOUT++ interfaces
Field-aligned coordinate systems
Developer Documentation
Defines
__OPTIONS_NETCDF_H__
bout
SNB model
experimental
OptionsNetCDF
Public Types
FileMode
Values:
replace
Overwrite file when writing.
append
Append to file when writing.
Public Functions
read
Read options from file.
write
Write options to file.
Private Members
filename
file_mode
time_index
NetCDF doesn’t seem to keep track of the current index for each variable. This map keeps track of the current index being written for each time dimension