⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svp.c

📁 超强的大尺度水文模拟工具
💻 C
字号:
#include <stdio.h>#include <stdlib.h>#include <vicNl.h>static char vcid[] = "$Id: svp.c,v 3.2 1999/07/07 16:32:11 vicadmin Exp $";double svp(double temp)/**********************************************************************  This routine computes the saturated vapor pressure using Handbook  of Hydrology eqn 4.2.2  Pressure in kPa**********************************************************************/{  double SVP;    SVP = A_SVP * exp((B_SVP * temp)/(C_SVP+temp));  if(temp<0) SVP *= 1.0 + .00972 * temp + .000042 * temp * temp;  return (SVP);}double svp_slope(double temp)/**********************************************************************  This routine computes the gradient of d(svp)/dT using Handbook  of Hydrology eqn 4.2.3**********************************************************************/{  return (B_SVP * C_SVP) / ((C_SVP + temp) * (C_SVP + temp)) * svp(temp);} 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -