ForestClaw / forestclaw

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

Feature multi: Inverse brick map #254

Closed hannesbrandt closed 1 year ago

hannesbrandt commented 1 year ago

We change the inverse mapping in filament_swirl. We now assume, that the filament domain is an mi x mj brick that gets mapped linearly to the 3D domain [ax,bx] x [ay,by] x [az,bz], with all parameters being extracted from the corresponding fclaw_options_t. The point coordinates are inversely mapped from the 3D physical domain to the [0,1]^3 reference domain of the current block. Additionally, resulting point interpolation data is only printed, if it was set.