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

(1/5) Base Dimension Independent Types #307

Closed scottaiton closed 5 months ago

scottaiton commented 5 months ago

This removes the current p8est example and fclaw3d_* files above the p4est interface. It also adds in the base dimension independent domain, block, and patch types. These types are designed to be drop-in replacements for the dimensioned types.

forestclaw.h and fclaw_convienence.h contain wrapper functions that accept the dimension independent types and call the lower level dimensioned functions.

The fclaw*_wrap files contain the constructors for the dimension independent domain, and they contain callback wrappers for the callbacks.

The merges into the develop-3d which is currently synced up with develop. The dimension independent feature will introduce breaking changes and we have projects that are setup to get the latest develop (not a great idea in hindsight). So after the initial PRs into this branch, development should probably continue on the develop-3d branch until we get those projects updated.

The is first PR of many that will introduce the changes in dim_ind_fclaw_preview_2 branch, which MAGIC and GEMINI are currently using. The PRs after this one will be along the line of: