GEOtop is a distributed model of the mass and energy balance of the hydrological cycle, which is applicable to simulations in continuum in small catchments. GEOtop deals with the effects of topography on the interaction between energy balance and hydrological cycle with peculiar solutions.
PR with the sobstitution of pow() with a new defined power function, exploiting a property of the logarithm: pow(a,b) = exp(b*log(a)).
Of course I'm assuming that the base a is always positive, and in fact it doesn't work everywhere.
The involved files, making usage of this new function, are:
pedo.func.cc, with the variable psisat
radiation.cc, in the function atm_transmittance
Therefore, the file water.balance.cc was commented using "Doxygen style" after a re-reading.
PR with the sobstitution of
pow()
with a new defined power function, exploiting a property of the logarithm:pow(a,b) = exp(b*log(a))
. Of course I'm assuming that the basea
is always positive, and in fact it doesn't work everywhere.The involved files, making usage of this new function, are:
psisat
atm_transmittance
Therefore, the file water.balance.cc was commented using "Doxygen style" after a re-reading.