clawpack/pyclaw — pull request #153 by ketch (2012-03-13 11:06:48+00:00)
Title: Parallel syntax

This patch makes it so that

domain.num_cells
domain.lower
domain.upper

and the same attributes of patch always refer to local values (i.e., to the values on a given process in parallel). Meanwhile,

domain.num_cells_global
domain.lower_global
domain.upper_global

refer to the global values. This ensures that code using the default (local) names works in parallel.

Note that this did not require modification of any apps, indicating that the global values are never used in the apps.

While going through this, I also found a fixed a small issue in which sometimes extremely tiny steps were used (around 10^-18).