Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jun 17, 2024
1 parent 8ad4d1f commit e336032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/CRITERIA3D/shared/project3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ double Project3D::assignEvaporation(int row, int col, double lai, int soilIndex)
}
}

double area = DEM.header->cellSize * DEM.header->cellSize; // [m2]
double area = DEM.header->cellSize * DEM.header->cellSize; // [m2]

double et0 = double(hourlyMeteoMaps->mapHourlyET0->value[row][col]); // [mm]
double maxEvaporation = getPotentialEvaporation(et0, lai); // [mm]
Expand Down Expand Up @@ -1378,7 +1378,7 @@ double Project3D::assignEvaporation(int row, int col, double lai, int soilIndex)
}

int nrIteration = 0;
while (residualEvaporation > EPSILON && nrIteration < 3)
while (residualEvaporation > EPSILON && nrIteration < 5)
{
double iterEvaporation = 0;
for (unsigned int layer=1; layer <= unsigned(lastEvapLayer); layer++)
Expand Down

0 comments on commit e336032

Please sign in to comment.