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

Introduce demo in applications sub directory #328

Closed tim-griesbach closed 3 months ago

tim-griesbach commented 3 months ago

As discussed with @donnaaboise, this PR creates a demo sub directory in applications. It adds in particular applications/demo/demo.cmake and applications/demo/demo.apps to make it easy to add more application demos. The purpose of the demos is to test and illustrate new features without adding to existing examples like swirl. In this vein, this PR creates swirl_restart as a first demo that is a copy of swirl including the I/O demonstration that is now always compiled. In the original swirl the I/O-related code is removed.

hannesbrandt commented 2 months ago

@donnaaboise, would it make sense to move the swirl_rays and/or filament_swirl folder to the demo subdirectory as well? I could do so in another PR.