#include #include #include static char vcid[] = "$Id: write_vegparam.c,v 4.1 2000/05/16 21:07:16 vicadmin Exp $"; void write_vegparam(veg_con_struct *veg_con) /********************************************************************** write_vegparam Dag Lohmann January 1996 This routine writes vegetation parameters to stdout, used primarily for debugging, and making sure the model is reading the proper parameters.. Modifications: 5/21/96 Routine was modified to allow for variable number of layers KAC 4-12-98 Updated for new standard vegetation parameters KAC **********************************************************************/ { extern veg_lib_struct *veg_lib; extern option_struct options; int i, j, l; int vegclass; printf("Vegetation Parameters:\n"); printf("\tvegetat_type_num = %d\n", veg_con[0].vegetat_type_num); for (i = 0; i < veg_con[0].vegetat_type_num; i++) { vegclass = veg_con[i].veg_class; printf("\n\tveg_class = %d\n", veg_lib[vegclass].veg_class); printf("\tCv = %f\n", veg_con[i].Cv); if(veg_lib[vegclass].overstory) printf("\tOverstory = TRUE\n"); else printf("\tOverstory = FALSE\n"); printf("\trarc = %f s/m\n", veg_lib[vegclass].rarc); printf("\trmin = %f s/m\n", veg_lib[vegclass].rmin); for(l=0;l