Skip to content

Commit c16afe1

Browse files
committed
update
1 parent 9cf8a31 commit c16afe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agrolib/criteriaModel/criteria1DCase.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ bool Crit1DCase::initializeNumericalFluxes(std::string &error)
182182

183183
// set surface properties
184184
double maxSurfaceWater = crop.getSurfaceWaterPonding() * 0.001; // [m]
185-
double roughnessManning = 0.024; // [s m^-0.33]
185+
double roughnessManning = 0.024; // [s m-0.33]
186186
int surfaceIndex = 0;
187187
soilFluxes3D::setSurfaceProperties(surfaceIndex, roughnessManning);
188188

@@ -203,7 +203,7 @@ bool Crit1DCase::initializeNumericalFluxes(std::string &error)
203203
isSurface = false;
204204
for (int i = 1; i < nrLayers; i++)
205205
{
206-
double volume = area * soilLayers[unsigned(i)].thickness; // [m^3]
206+
double volume = area * soilLayers[unsigned(i)].thickness; // [m3]
207207
double z = z0 - soilLayers[unsigned(i)].depth; // [m]
208208
if (i == lastLayer)
209209
{

0 commit comments

Comments
 (0)