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

📄 make_veg_var.c

📁 超强的大尺度水文模拟工具
💻 C
字号:
#include <stdio.h>#include <stdlib.h>#include <vicNl.h> static char vcid[] = "$Id: make_veg_var.c,v 3.1 1999/02/16 18:02:07 vicadmin Exp $";veg_var_struct **make_veg_var(int veg_type_num)/**********************************************************************	make_veg_var	Dag Lohman		January 1996  This routine makes an array of vegitation variables for each vegitation  type.  Modifications:  07-13-98 modified to add structure definitions for all defined            elevation bands                                       KAC**********************************************************************/{  extern option_struct options;    int              i;  veg_var_struct **temp;  temp = (veg_var_struct **) calloc(veg_type_num, 				    sizeof(veg_var_struct *));  for(i=0;i<veg_type_num;i++)    temp[i] = (veg_var_struct *) calloc(options.SNOW_BAND, 					sizeof(veg_var_struct));  return temp;}

⌨️ 快捷键说明

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