24 #define N_GW_CONFINED 0 25 #define N_GW_UNCONFINED 1 27 #define N_GW_DRY_CELL 0 28 #define N_GW_SURFACE_CELL 1 29 #define N_GW_NORMAL_CELL 2 100 int col,
int row,
int depth);
108 int river,
int drain);
Matrix entries for a mass balance 5/7/9 star system.
N_data_star * N_callback_gwflow_2d(void *gwdata, N_geom_data *geom, int col, int row)
This callback function creates the mass balance of a 5 point star.
This data structure contains all data needed to compute the groundwater mass balance in three dimensi...
N_data_star * N_callback_gwflow_3d(void *gwdata, N_geom_data *geom, int col, int row, int depth)
This callback function creates the mass balance of a 7 point star.
void N_gwflow_3d_calc_water_budget(N_gwflow_data3d *data, N_geom_data *geom, N_array_3d *budget)
This function computes the water budget of the entire groundwater.
N_gwflow_data3d * N_alloc_gwflow_data3d(int cols, int rows, int depths, int river, int drain)
Alllocate memory for the groundwater calculation data structure in 3 dimensions.
void N_gwflow_2d_calc_water_budget(N_gwflow_data2d *data, N_geom_data *geom, N_array_2d *balance)
This function computes the water budget of the entire groundwater.
Geometric information about the structured grid.
N_gwflow_data2d * N_alloc_gwflow_data2d(int cols, int rows, int river, int drain)
Alllocate memory for the groundwater calculation data structure in 2 dimensions.
int depths
number of depths for 3D data
int cols
Number of columns for 2D data.
This data structure contains all data needed to compute the groundwater mass balance in two dimension...
void N_free_gwflow_data2d(N_gwflow_data2d *data)
Release the memory of the groundwater flow data structure in two dimensions.
int rows
Number of rows for 2D data.
void N_free_gwflow_data3d(N_gwflow_data3d *data)
Release the memory of the groundwater flow data structure in three dimensions.