From 4b7bc967f72be4077e18a211f3b21918d3dd51e4 Mon Sep 17 00:00:00 2001 From: Johannes Keller Date: Fri, 29 Nov 2024 09:06:06 +0100 Subject: [PATCH] PDAF: part of `solver_richards.c` only for `HAVE_CLM` --- pfsimulator/parflow_lib/solver_richards.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pfsimulator/parflow_lib/solver_richards.c b/pfsimulator/parflow_lib/solver_richards.c index 639cd6ad2..4145796a8 100644 --- a/pfsimulator/parflow_lib/solver_richards.c +++ b/pfsimulator/parflow_lib/solver_richards.c @@ -2642,6 +2642,7 @@ AdvanceRichards(PFModule * this_module, double start_time, /* Starting time #endif #if defined HAVE_CLM || defined USE_PDAF #ifdef USE_PDAF +#ifdef HAVE_CLM //#endif //End of call to CLM /* NBE counter for reusing CLM input files */ clm_next += 1; @@ -2664,8 +2665,9 @@ AdvanceRichards(PFModule * this_module, double start_time, /* Starting time * It is using the different time step counter BUT then it * isn't scaling the inputs properly. * ============================================================= */ +#endif // end to HAVE_CLM CALL istep = istep + 1; -#endif +#endif // end to USE_PDAF CALL /******************************************/ /* read transient evap trans flux file */ /******************************************/