TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
keywords_file_b.h File Reference

Go to the source code of this file.

Macros

#define A_FLAG   2
 
#define MAX_ELEVATION_VALUE   1e+10
 
#define I_MORPHO_ELEVATION_COARSE   1
 
#define I_MORPHO_ELEVATION_FINE   I_MORPHO_ELEVATION_COARSE+1
 
#define I_MORPHO_ELEVATION_TERRAINSURFACE_FINE   I_MORPHO_ELEVATION_FINE+1
 
#define I_INITCOND_WATERSURFACE_ELEVATION   I_MORPHO_ELEVATION_TERRAINSURFACE_FINE+1
 
#define I_INITCOND_WATERDEPTH   I_INITCOND_WATERSURFACE_ELEVATION+1
 
#define I_POROSITY_FINE   I_INITCOND_WATERDEPTH+1
 
#define I_OUTLET_COEFFICIENT_FINE   I_POROSITY_FINE+1
 
#define I_OUTLET_COEFFICIENT_SURF_FINE   I_OUTLET_COEFFICIENT_FINE+1
 
#define I_RUNOFF_COEFFICIENT_COARSE   I_OUTLET_COEFFICIENT_SURF_FINE+1
 
#define I_SOURCEMAPSERIES_COARSE   I_RUNOFF_COEFFICIENT_COARSE+1
 
#define I_DIRICHLETMAPSERIES_COARSE   I_SOURCEMAPSERIES_COARSE+1
 
#define I_PARAM_FT_FILE   I_DIRICHLETMAPSERIES_COARSE+1
 
#define I_TIMES_FT_FILE   I_PARAM_FT_FILE+1
 
#define I_DIRICHLETTIMES_FT_FILE   I_TIMES_FT_FILE+1
 
#define I_INITIAL_VELOCITY_FT_ARRAY   I_DIRICHLETTIMES_FT_FILE+1 /*<!fluidturtle array for surface velocity,*/
 
#define O_RESUME_FILES   I_INITIAL_VELOCITY_FT_ARRAY+1
 
#define O_COARSEMAP_INDEX_CELLS   O_RESUME_FILES+1
 
#define O_COARSEMAP_INDEX_LINES   O_COARSEMAP_INDEX_CELLS+1
 
#define O_FINEMAP_INDEX_CELLS   O_COARSEMAP_INDEX_LINES+1
 
#define O_FINEMAP_INDEX_LINES   O_FINEMAP_INDEX_CELLS+1
 
#define O_COARSEMAP_WATERSURFACE_ELEVATION   O_FINEMAP_INDEX_LINES+1
 
#define O_COARSEMAP_WATERMASS_ERROR   O_COARSEMAP_WATERSURFACE_ELEVATION+1
 
#define NFILES   O_COARSEMAP_WATERMASS_ERROR
 
#define DTM_MASK   1
 
#define H_MASK   DTM_MASK+1
 
#define V_MASK   H_MASK+1
 
#define N_MAPS   V_MASK
 
#define GRIDDED_VARIABLES_START   0 /*! initialization value */
 
#define BOTTOM_ELEVATION_FINE   GRIDDED_VARIABLES_START /*! map of bottom elevation (fine grid) */
 
#define BOTTOM_ELEVATION_COARSE   BOTTOM_ELEVATION_FINE+1 /*! map of bottom elevation (coarse grid) */
 
#define BOTTOM_ELEVATION_FLINES   BOTTOM_ELEVATION_COARSE+1
 
#define POROSITY_FINE   BOTTOM_ELEVATION_FLINES+1 /*! map of porosity (fine grid) */
 
#define WATER_SURFACE_ELEVATION   POROSITY_FINE+1
 
#define WATER_MASS_ERROR   WATER_SURFACE_ELEVATION+1
 
#define N_GRIDDED_VARIABLES   WATER_MASS_ERROR
 

Detailed Description

Author
Emanuele Cordano
Attention

This file is part of Boussinesq.

Boussinesq is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Boussinesq is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Boussinesq. If not, see http://www.gnu.org/licenses/.

Definition in file keywords_file_b.h.

Macro Definition Documentation

#define A_FLAG   2

Definition at line 25 of file keywords_file_b.h.

#define BOTTOM_ELEVATION_COARSE   BOTTOM_ELEVATION_FINE+1 /*! map of bottom elevation (coarse grid) */

Definition at line 67 of file keywords_file_b.h.

#define BOTTOM_ELEVATION_FINE   GRIDDED_VARIABLES_START /*! map of bottom elevation (fine grid) */

Definition at line 66 of file keywords_file_b.h.

#define BOTTOM_ELEVATION_FLINES   BOTTOM_ELEVATION_COARSE+1

Definition at line 68 of file keywords_file_b.h.

#define DTM_MASK   1

Definition at line 55 of file keywords_file_b.h.

Referenced by get_dirichletsnode(), get_sources(), main(), and write_map_results().

#define GRIDDED_VARIABLES_START   0 /*! initialization value */

Definition at line 65 of file keywords_file_b.h.

#define H_MASK   DTM_MASK+1

Definition at line 56 of file keywords_file_b.h.

Referenced by main().

#define I_DIRICHLETMAPSERIES_COARSE   I_SOURCEMAPSERIES_COARSE+1

series of maps at different for Dirichlet nodes time instant (suffix)

Definition at line 38 of file keywords_file_b.h.

Referenced by get_dirichletsnode().

#define I_DIRICHLETTIMES_FT_FILE   I_TIMES_FT_FILE+1

Fluidturtle ascii files with time information for Dirichlet nodes (name with extension)

Definition at line 41 of file keywords_file_b.h.

Referenced by time_loop().

#define I_INITCOND_WATERDEPTH   I_INITCOND_WATERSURFACE_ELEVATION+1

map of initial water depth (optional) (coarse grid)

Definition at line 32 of file keywords_file_b.h.

Referenced by main().

#define I_INITCOND_WATERSURFACE_ELEVATION   I_MORPHO_ELEVATION_TERRAINSURFACE_FINE+1

map of initial water surface (coarse grid),

Definition at line 31 of file keywords_file_b.h.

Referenced by main().

#define I_INITIAL_VELOCITY_FT_ARRAY   I_DIRICHLETTIMES_FT_FILE+1 /*<!fluidturtle array for surface velocity,*/

Definition at line 42 of file keywords_file_b.h.

Referenced by main().

#define I_MORPHO_ELEVATION_COARSE   1

Digital terrain model at the coarse grid resolution

Definition at line 28 of file keywords_file_b.h.

Referenced by main().

#define I_MORPHO_ELEVATION_FINE   I_MORPHO_ELEVATION_COARSE+1

Digital terrain model at the fine grid resolution

Definition at line 29 of file keywords_file_b.h.

Referenced by main().

#define I_MORPHO_ELEVATION_TERRAINSURFACE_FINE   I_MORPHO_ELEVATION_FINE+1

Digital terrain model (of surface) at the fine grid resolution

Definition at line 30 of file keywords_file_b.h.

Referenced by main().

#define I_OUTLET_COEFFICIENT_FINE   I_POROSITY_FINE+1

map of the coefficient of the rating curve in the outlet q_discharge=C*h_sup^p

Definition at line 34 of file keywords_file_b.h.

Referenced by main().

#define I_OUTLET_COEFFICIENT_SURF_FINE   I_OUTLET_COEFFICIENT_FINE+1

map of the coefficient of the rating curve in the outlet (surface flow) q_discharge=C*h_sup^m

Definition at line 35 of file keywords_file_b.h.

Referenced by main().

#define I_PARAM_FT_FILE   I_DIRICHLETMAPSERIES_COARSE+1

Fluidturtle ascii files with parameters

Definition at line 39 of file keywords_file_b.h.

Referenced by main().

#define I_POROSITY_FINE   I_INITCOND_WATERDEPTH+1

map of porosity (fine grid),

Definition at line 33 of file keywords_file_b.h.

Referenced by main().

#define I_RUNOFF_COEFFICIENT_COARSE   I_OUTLET_COEFFICIENT_SURF_FINE+1

map of the coefficient of the dissipation runoff coefficient C*(velocity)^p ,

Definition at line 36 of file keywords_file_b.h.

Referenced by main().

#define I_SOURCEMAPSERIES_COARSE   I_RUNOFF_COEFFICIENT_COARSE+1

series of maps for sources at different time instant (suffix)

Definition at line 37 of file keywords_file_b.h.

Referenced by get_sources().

#define I_TIMES_FT_FILE   I_PARAM_FT_FILE+1

Fluidturtle ascii files with time information for source/rainfalls (name with extension)

Definition at line 40 of file keywords_file_b.h.

Referenced by time_loop().

#define MAX_ELEVATION_VALUE   1e+10

Definition at line 26 of file keywords_file_b.h.

Referenced by t_st_operator_element().

#define N_GRIDDED_VARIABLES   WATER_MASS_ERROR

Definition at line 72 of file keywords_file_b.h.

#define N_MAPS   V_MASK

Definition at line 58 of file keywords_file_b.h.

Referenced by main().

#define NFILES   O_COARSEMAP_WATERMASS_ERROR

Definition at line 50 of file keywords_file_b.h.

#define O_COARSEMAP_INDEX_CELLS   O_RESUME_FILES+1

Output map containing indicesc of coarse cells

Definition at line 44 of file keywords_file_b.h.

Referenced by main().

#define O_COARSEMAP_INDEX_LINES   O_COARSEMAP_INDEX_CELLS+1

Output map containing indicesc of coarse lines

Definition at line 45 of file keywords_file_b.h.

Referenced by main().

#define O_COARSEMAP_WATERMASS_ERROR   O_COARSEMAP_WATERSURFACE_ELEVATION+1

Output map containing water surface mass error

Definition at line 49 of file keywords_file_b.h.

Referenced by new_output_filenames().

#define O_COARSEMAP_WATERSURFACE_ELEVATION   O_FINEMAP_INDEX_LINES+1

Output map containing water surface elevation

Definition at line 48 of file keywords_file_b.h.

Referenced by new_output_filenames().

#define O_FINEMAP_INDEX_CELLS   O_COARSEMAP_INDEX_LINES+1

Output map containing indicesc of fine cells

Definition at line 46 of file keywords_file_b.h.

Referenced by main().

#define O_FINEMAP_INDEX_LINES   O_FINEMAP_INDEX_CELLS+1

Output map containing indicesc of fine lines

Definition at line 47 of file keywords_file_b.h.

Referenced by main().

#define O_RESUME_FILES   I_INITIAL_VELOCITY_FT_ARRAY+1

Definition at line 43 of file keywords_file_b.h.

Referenced by main().

#define POROSITY_FINE   BOTTOM_ELEVATION_FLINES+1 /*! map of porosity (fine grid) */

Definition at line 69 of file keywords_file_b.h.

#define V_MASK   H_MASK+1

Definition at line 57 of file keywords_file_b.h.

Referenced by main().

#define WATER_MASS_ERROR   WATER_SURFACE_ELEVATION+1

Definition at line 71 of file keywords_file_b.h.

#define WATER_SURFACE_ELEVATION   POROSITY_FINE+1

Definition at line 70 of file keywords_file_b.h.