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

(2/5) Change to using dimension independent types, rename functions in core library. #308

Closed scottaiton closed 5 months ago

scottaiton commented 5 months ago

This makes everything use the dimension independent types, renames core library functions to fclaw_. This is just a mass rename/conversion with minimal changes to logic. This depends on #307

To help with updated downstream projects, there is script in scripts/convert_to_v2.py which has a dictionary of all the renames and uses source tokenizer to replace function calls, type names, and headers. Since the function arguments have not changed, just type names and function names, this make converting projects trivial.