The newly introduced Xios class has a write method that accepts a C-style array of doubles, along with its dimensions in each direction. It would be more in line with Nextsim's approach to instead pass a ModelArray, which already knows about both the data and dimensions.
The newly introduced
Xios
class has awrite
method that accepts a C-style array ofdouble
s, along with its dimensions in each direction. It would be more in line with Nextsim's approach to instead pass aModelArray
, which already knows about both the data and dimensions.