From 47705d5315013c89841cf3645d549e9bc83ce6e8 Mon Sep 17 00:00:00 2001 From: GeorgeGayno-NOAA <52789452+GeorgeGayno-NOAA@users.noreply.github.com> Date: Tue, 16 Jul 2024 08:37:09 -0400 Subject: [PATCH] Fix compiler warning in fre-nctools.fd (#969) Fixes #959. --- reg_tests/grid_gen/driver.orion.sh | 2 +- sorc/fre-nctools.fd/shared_lib/mosaic_util.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/reg_tests/grid_gen/driver.orion.sh b/reg_tests/grid_gen/driver.orion.sh index 18fda2e69..e41f1c40d 100755 --- a/reg_tests/grid_gen/driver.orion.sh +++ b/reg_tests/grid_gen/driver.orion.sh @@ -62,7 +62,7 @@ rm -fr $WORK_DIR #----------------------------------------------------------------------------- LOG_FILE1=${LOG_FILE}01 -TEST1=$(sbatch --parsable --ntasks-per-node=24 --nodes=1 -t 0:15:00 -A $PROJECT_CODE -q $QUEUE -J c96.uniform \ +TEST1=$(sbatch --parsable --ntasks-per-node=24 --nodes=1 -t 0:20:00 -A $PROJECT_CODE -q $QUEUE -J c96.uniform \ -o $LOG_FILE1 -e $LOG_FILE1 ./c96.uniform.sh) #----------------------------------------------------------------------------- diff --git a/sorc/fre-nctools.fd/shared_lib/mosaic_util.h b/sorc/fre-nctools.fd/shared_lib/mosaic_util.h index 052243aa7..5fd181adc 100644 --- a/sorc/fre-nctools.fd/shared_lib/mosaic_util.h +++ b/sorc/fre-nctools.fd/shared_lib/mosaic_util.h @@ -63,6 +63,8 @@ void initNode(struct Node *node); void addEnd(struct Node *list, double x, double y, double z, int intersect, double u, int inbound, int inside); int addIntersect(struct Node *list, double x, double y, double z, int intersect, double u1, double u2, int inbound, int is1, int ie1, int is2, int ie2); +void insertIntersect(struct Node *list, double x, double y, double z, double u1, double u2, int inbound, + double x2, double y2, double z2); int length(struct Node *list); int samePoint(double x1, double y1, double z1, double x2, double y2, double z2); int sameNode(struct Node node1, struct Node node2);