Skip to content

Gauge Values for Aux Arrays Incorrect #653

@mandli

Description

@mandli

As discussed in #341 and #649, gauge values near patch boundaries are periodically incorrect. This is fixed by changing the time when update_gauges is called, but as outlined by @rjleveque in #649 this is problematic for a number of reasons. Instead we can add time to setaux calls, but this does not completely solve the problem as somewhere in the algorithm to fill in ghost cells, this is filling in with incorrect data. This issue bring up a few points:

  • Do we want to put time into setaux? This was not nearly as hard as I thought but I was not able to guarantee that whatever time is there is correct.
  • There are a number of places where we copy aux values from the old grids (mostly for topography). This was modified to handle moving topography, but not general time-dependent aux values. While I do not think the problem here is directly impacted by this, we may need to reconsider this point.
  • This may impact how @kbarnhart implements temporal aux arrays.
  • Do we want to change how dtopo is done so that it can be handled directly within setaux rather than having an entirely separate apparatus?

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions