#include <stdlib.h>#include "hydroclimate.h"#include "hydrotimeser.h"#include "hydroparams.h"#include "hydroinout.h"#include "hydroreadclimate.h"#include "hydroalloc_mem.h"#include "hydrofree_mem.h"#include "hydrodaysmonths.h"#include "hydrotrend.h"#include "hydrornseeds.h"Go to the source code of this file.
Defines | |
| #define | MAXIT (3000) |
| #define | swap_dbl_vec(x, i, j) { double temp; temp=x[i]; x[i]=x[j]; x[j]=temp; } |
Typedefs | |
| typedef int( | Cost_fcn )(double *, int) |
Functions | |
| double * | anneal (double *x, int n, Cost_fcn *f, int cost_min, int jj) |
| int | eh_get_fuzzy_int (int y, int z, int jj, int count) |
| int | cost_fcn (double *x, int n) |
| float | hydroran4 (long *idum) |
| int | hydroweather (gw_rainfall_etc *gw_rain) |
Variables | |
| int | jj |
| #define MAXIT (3000) |
Definition at line 35 of file hydroweather.c.
| #define swap_dbl_vec | ( | x, | |||
| i, | |||||
| j | ) | { double temp; temp=x[i]; x[i]=x[j]; x[j]=temp; } |
| typedef int( Cost_fcn)(double *, int) |
Definition at line 37 of file hydroweather.c.
| double * anneal | ( | double * | x, | |
| int | n, | |||
| Cost_fcn * | f, | |||
| int | cost_min, | |||
| int | jj | |||
| ) |
Definition at line 255 of file hydroweather.c.
References eh_get_fuzzy_int(), MAXIT, start_of(), and swap_dbl_vec.
| int cost_fcn | ( | double * | x, | |
| int | n | |||
| ) |
Definition at line 313 of file hydroweather.c.
References freematrix1D(), malloc1d, and start_of().
Referenced by hydroweather().
| int eh_get_fuzzy_int | ( | int | y, | |
| int | z, | |||
| int | jj, | |||
| int | count | |||
| ) |
Definition at line 289 of file hydroweather.c.
References hydroran4(), INIT_RAN_NUM_SEED, rnseed4, syear, and yr.
Referenced by anneal().
| float hydroran4 | ( | long * | idum | ) |
| int hydroweather | ( | gw_rainfall_etc * | gw_rain | ) |
Definition at line 55 of file hydroweather.c.
References cost_fcn(), days_in_month(), daysiy, Dec, end_of(), ep, Jan, jj, nran, raindatafile, ranarray, start_of(), syear, gw_rainfall_etc::T, Tdaily, Tmonth, Tnomstd, and yr.
Referenced by main().
| int jj |
Definition at line 42 of file hydroweather.c.
Referenced by eh_svbksb(), eh_svdcmp(), hydrocheckinput(), hydroclimate(), hydrocommandline(), hydroglacial(), hydrooutput(), hydrorain(), hydroran2(), hydrorandom(), hydroreadinput(), hydrosecurityinputcheck(), hydroshoulder(), hydrosnow(), hydroweather(), plumearray(), plumecent(), plumeconc(), plumedist(), plumemass(), plumeout1(), plumeout2(), plumeout3(), and twofft().
1.5.2