From bea9ba4e9e13ed33f7a8b75f4553b8b7f00439cc Mon Sep 17 00:00:00 2001 From: FILIPPI Jean-Baptiste Date: Thu, 12 Sep 2024 16:43:40 +0200 Subject: [PATCH] modified learn from run --- src/RothermelAndrews2018.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RothermelAndrews2018.cpp b/src/RothermelAndrews2018.cpp index c4ff250..d6b26f1 100644 --- a/src/RothermelAndrews2018.cpp +++ b/src/RothermelAndrews2018.cpp @@ -160,7 +160,7 @@ double RothermelAndrews2018::getSpeed(double* Z){ double SC = 0; if (Z[slope] >0){ // Rothermel only for upslope, assuming no slope if negative slope is encountered - 5.275*(pow(Beta, -0.3))*pow(Z[slope], 2); + SC = 5.275*(pow(Beta, -0.3))*pow(Z[slope], 2); } // Heat sink double EHN = exp(-138. / fpsa); // Effective Heating Number = f(surface are volume ratio)