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

Add checkpoint-interval option #357

Open scottaiton opened 2 months ago

scottaiton commented 2 months ago

Adds a checkpoint-interval option that outputs a checkpoint when iframe%checkpoint-interval == 0.

cburstedde commented 1 week ago

Cool! Wondering in general about the best principle on interval configurations. Does it make sense to allow for a special value to deactivate the feature? Mathematically, infinity would make most sense, but it's hard to represent. We had a discussion on 0 vs. -1 vs. <= 0 vs. no disabling feature before. As long as the same convention is applied everywhere I'd personally have no strong preference.