vic/drivers/shared_all/src/make_all_vars.c
all_vars_struct
make_all_vars(size_t nveg)
{
    all_vars_struct temp;
    size_t          Nitems;

    Nitems = nveg + 1;

    temp.snow = make_snow_data(Nitems);
    temp.energy = make_energy_bal(Nitems);
    temp.veg_var = make_veg_var(Nitems);
    temp.cell = make_cell_data(Nitems);

    return (temp);
}
/******************************************************************************
 * @brief    Creates an array of structures that contain information about a
 *           cell's states and fluxes.
 *****************************************************************************/
@brief    Creates an array of structures that contain information about a
cell's states and fluxes.
@brief Creates an array of structures that contain information about a cell ' s states and fluxes .
all_vars_struct
make_all_vars(size_t nveg)
{
    all_vars_struct temp;
    size_t          Nitems;
    Nitems = nveg + 1;
    temp.snow = make_snow_data(Nitems);
    temp.energy = make_energy_bal(Nitems);
    temp.veg_var = make_veg_var(Nitems);
    temp.cell = make_cell_data(Nitems);
    return (temp);
}
all_vars_struct make_all_vars ( size_t nveg ) { all_vars_struct temp ; size_t Nitems ; Nitems = nveg + 1 ; temp . snow = make_snow_data ( Nitems ) ; temp . energy = make_energy_bal ( Nitems ) ; temp . veg_var = make_veg_var ( Nitems ) ; temp . cell = make_cell_data ( Nitems ) ; return ( temp ) ; }
@brief    Creates an array of structures that contain information about a
           cell's states and fluxes.
@brief Creates an array of structures that contain information about a cell ' s states and fluxes .