-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing bug in calculation of non-uniform correction
As pointed out by Haruki Seto, the non-uniform correction terms d1_dx and d1_dy were not recalculated if dx and dy were changed. This fix moves the calculation of d1_dx and d1_dy into the geometry() function, which should be called whenever metric tensor components are changed.
- Loading branch information
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters