Skip to content

Commit

Permalink
aggiunta libreria hydrall in criteria3d
Browse files Browse the repository at this point in the history
  • Loading branch information
voltAntonio committed Jan 17, 2025
1 parent 6efbb0a commit 86eb042
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions agrolib/hydrall/hydrall.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
#
#---------------------------------------------------

QT -= core gui
QT -= core gui

TEMPLATE = lib
CONFIG += staticlib

DEFINES += _CRT_SECURE_NO_WARNINGS

CONFIG += debug_and_release
CONFIG += c++11 c++14 c++17

#DEFINES += _CRT_SECURE_NO_WARNINGS


unix:{
CONFIG(debug, debug|release) {
Expand All @@ -32,4 +34,3 @@ SOURCES += hydrall.cpp

HEADERS += hydrall.h


2 changes: 1 addition & 1 deletion bin/CRITERIA3D/CRITERIA3D.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ CONFIG += c++11 c++14 c++17

INCLUDEPATH += ./shared \
../../agrolib/soilFluxes3D/header \
../../agrolib/crit3dDate ../../agrolib/mathFunctions \
../../agrolib/crit3dDate ../../agrolib/mathFunctions ../../agrolib/hydrall\
../../agrolib/crop ../../agrolib/soil ../../agrolib/meteo ../../agrolib/gis \
../../agrolib/interpolation ../../agrolib/solarRadiation ../../agrolib/snow \
../../agrolib/outputPoints ../../agrolib/soilWidget ../../agrolib/utilities \
Expand Down
2 changes: 1 addition & 1 deletion bin/CRITERIA3D/criteria3DProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ bool Crit3DProject::runModelHour(const QString& hourlyOutputPath, bool isRestart
updateDailyTemperatures();
if (1) //if Hydrall is on processes.computeForestModel
{
computeHydrall(myDateTime, 25, 200);
//computeHydrall(myDateTime, 25, 200);
}
}
if (processes.computeWater)
Expand Down

0 comments on commit 86eb042

Please sign in to comment.