This PR among others adds the implementation of the core routines for parallel I/O, i.e.
reading and writing a domain (including parallel write and read of patches)
reading and writing global data blocks
reading and writing parallel arrays, which are partitioned according to the partition of the patches.
In addition, this PR contains a workflow example in applications/clawpack/advection/2d/swirl/swirl.cpp including explanatory comments. The workflow example is not compiled to preserve the behavior of the swirl code but it can be activated by setting the macro FCLAW_SWIRL_IO_DEMO to 1.
These changes are a basis to pass byte arrays for global data and patch data to the respective I/O function as documented in fclaw{2,3}d_file.h to achieve a restart functionality in ForestClaw.
This PR among others adds the implementation of the core routines for parallel I/O, i.e.
In addition, this PR contains a workflow example in
applications/clawpack/advection/2d/swirl/swirl.cpp
including explanatory comments. The workflow example is not compiled to preserve the behavior of the swirl code but it can be activated by setting the macroFCLAW_SWIRL_IO_DEMO
to1
.These changes are a basis to pass byte arrays for global data and patch data to the respective I/O function as documented in
fclaw{2,3}d_file.h
to achieve a restart functionality in ForestClaw.