UniExeterRSE / PIP-fork

Partially Ionised Plasma Code
GNU General Public License v3.0
0 stars 0 forks source link

Collect all params on same node #3

Closed mtwest2718 closed 2 years ago

mtwest2718 commented 2 years ago

This task will require separate file creation writing and closing steps.

mtwest2718 commented 2 years ago

I am thinking that I might combine this with #2. The reason is that the arrays U_m and U_h have distinct names for each of the sub-arrays and presumably the maintainers would like to keep that meta-data info in the files. I will have to check. Also need to check on whether visc and Nexcite need to be broken out into components are not.

mtwest2718 commented 2 years ago

Because the .dac functionality still exists, I haven't touched the file_m & file_h name arrays yet. But having "dac" in all the meta info is rather annoying for any post-processing, so I need to learn how to split a string in Fortran.

This seems to be a clear method though I am unsure whether its possible to do this with older compilers...

mtwest2718 commented 2 years ago

For each time step & process, all output variables & the grid coordinates are saved to a single HDF5 file

mtwest2718 commented 2 years ago

Stuff not yet done that needs to be

mtwest2718 commented 2 years ago

Since time series generation is dynamic and handled differently than the spatial grid and the output variables, I am not sure how exactly to handle it's porting from dac to hdf5.