forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch tempestremap to relax tolerance on valid grid elements
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
var/spack/repos/builtin/packages/tempestremap/grid-elements-tolerance.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -ruN tempestremap-2.2.0/src/GridElements.cpp tempestremap-2.2.0-patch/src/GridElements.cpp | ||
--- tempestremap-2.2.0/src/GridElements.cpp 2023-06-14 11:34:02.000000000 -0600 | ||
+++ tempestremap-2.2.0-patch/src/GridElements.cpp 2024-11-03 09:37:36.140268861 -0700 | ||
@@ -1727,7 +1727,7 @@ | ||
|
||
#endif | ||
*/ | ||
- if (dDot > 0.0) { | ||
+ if (dDot > ReferenceTolerance) { | ||
printf("\nError detected (orientation):\n"); | ||
printf(" Face %i, Edge %i, Orientation %1.5e\n", | ||
i, j, dDot); |
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