clawpack/pyclaw — pull request #164 by mandli (2012-05-01 02:13:52+00:00)
Title: Boundary Conditions Bug Fixes

This pull request includes a bug fix and additional functionality to the current boundary condition routines:

- The is_valid routine checked to see if a custom boundary condition was set and then checked if a user defined was provided. The routine mistakenly checked to see if the lower boundary condition was present in both cases.

- Time dependent aux array support has been added. This required the setting and getting of aux arrays to and from the auxbc array in the solver at every time step. A slight refactoring of the boundary condition routines was also included.

There may be debate about whether the aux arrays should be set at every time step as that theoretically this could lead to overhead. One way around this would be to let the user set a parameter indicating a time dependent aux array but this is currently not included in the pull request.