ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
57 stars 21 forks source link

Implementation of parallel I/O functionalities #306

Closed tim-griesbach closed 5 months ago

tim-griesbach commented 5 months ago

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 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.