Skip to content

Commit

Permalink
update 1D
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jan 27, 2025
1 parent 5ea3626 commit 7980eda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agrolib/criteriaModel/criteria1DCase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ bool Crit1DCase::initializeNumericalFluxes(std::string &error)
int lastLayer = nrLayers-1;
int nrlateralLinks = 0;

int result = soilFluxes3D::initialize(nrLayers, nrLayers, nrlateralLinks, true, false, false);
int result = soilFluxes3D::initializeFluxes(nrLayers, nrLayers, nrlateralLinks, true, false, false);
if (result != CRIT3D_OK)
{
error = "Error in initialize numerical fluxes";
Expand Down
2 changes: 1 addition & 1 deletion bin/CRITERIA1D/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void usage()
int main(int argc, char *argv[])
{
QCoreApplication myApp(argc, argv);
std::cout << "CRITERIA-1D agro-hydrological model v1.8.5\n" << std::endl;
std::cout << "CRITERIA-1D agro-hydrological model v1.8.6\n" << std::endl;

Crit1DProject myProject;

Expand Down
2 changes: 1 addition & 1 deletion bin/HEAT1D/heat1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ bool initializeHeat1D(bool useInputSoils)
else depth[indexNode] = depth[indexNode-1] - myHeat1D.Thickness ;
}

result = soilFluxes3D::initialize(myHeat1D.NodesNumber, (short) myHeat1D.NodesNumber, 0,
result = soilFluxes3D::initializeFluxes(myHeat1D.NodesNumber, (short) myHeat1D.NodesNumber, 0,
myHeat1D.computeWater, myHeat1D.computeHeat, myHeat1D.computeSolutes);
if (result != CRIT3D_OK) printf("\n error in initialize");

Expand Down

0 comments on commit 7980eda

Please sign in to comment.