|
TheBoussinesqModel
3.2.1
|
#include "turtle.h"#include "t_alloc.h"#include "t_io.h"#include "t_datamanipulation.h"#include "t_utilities.h"#include "rw_maps.h"#include "geometry.h"#include "g_raster2plvector.h"#include "bigcells2.h"#include "geometry2.h"#include "b_utilities.h"#include "b_solver.h"#include "b_volumes.h"#include "doublevector_utilities.h"#include "preconditioned_conjugate_gradient.h"#include "keywords_file_b.h"#include "b_sources.h"Go to the source code of this file.
Functions | |
| int | get_sources (double t, DOUBLEVECTOR *sources) |
| S_TIMES * | get_s_times (char *filename, short print) |
| void | free_s_times (S_TIMES *s_t) |
| int | get_dirichletsnode (double t, DOUBLEVECTOR *dirichlet) |
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 b_sources.c.
| void free_s_times | ( | S_TIMES * | s_t) |
Definition at line 166 of file b_sources.c.
References free_doublevector(), free_stringbin(), S_TIMES::s_suffixes, and S_TIMES::times.
Referenced by time_loop().
| int get_dirichletsnode | ( | double | t, |
| DOUBLEVECTOR * | dirichlet | ||
| ) |
| t | (double) time; |
| dirichlet_node | map - (DOUBLEVECTOR *) dirichlet |
Definition at line 182 of file b_sources.c.
References A_FLAG, DOUBLESQUARE_GRID::big, DOUBLERASTER_MAP::coarse, copy_doublevector(), DTM_MASK, PARAM::exp_dirichlet, free_doublevector(), I_DIRICHLETMAPSERIES_COARSE, SQUARE_GRID::indices_pixel, join_strings(), RASTER_MAP::layer, DOUBLEVECTOR::nh, DOUBLEVECTOR::nl, PARAM::null_dirichlet, read_doublevector_from_raster(), S_TIMES::s_suffixes, S_TIMES::times, and RASTER_MAP::UV.
Referenced by time_loop().
| S_TIMES* get_s_times | ( | char * | filename, |
| short | |||
| ) |
| filename | (char *) |
| (short) |
Definition at line 127 of file b_sources.c.
References st::index, LONGVECTOR::nh, DOUBLEVECTOR::nh, DOUBLEVECTOR::nl, read_doublearray(), read_index(), read_stringarray(), S_TIMES::s_suffixes, t_error(), t_fclose(), t_fopen(), and S_TIMES::times.
Referenced by time_loop().
| int get_sources | ( | double | t, |
| DOUBLEVECTOR * | sources | ||
| ) |
| t | (double) time; |
| sources | - (DOUBLEVECTOR *) sources |
Definition at line 67 of file b_sources.c.
References A_FLAG, DOUBLESQUARE_GRID::big, DOUBLERASTER_MAP::coarse, copy_doublevector(), DTM_MASK, free_doublevector(), I_SOURCEMAPSERIES_COARSE, SQUARE_GRID::indices_pixel, join_strings(), RASTER_MAP::layer, DOUBLEVECTOR::nh, DOUBLEVECTOR::nl, read_doublevector_from_raster(), S_TIMES::s_suffixes, S_TIMES::times, and RASTER_MAP::UV.
Referenced by time_loop().
| DOUBLE_GRID* dgrid |
| S_TIMES * dirichlet_times |
Definition at line 72 of file b_solver.c.
| DOUBLERASTER_MAP* draster |
| DOUBLESQUARE_GRID* dsq |
| DOUBLEVECTOR* elevation_bottom_bottom |
| DOUBLEVECTOR* elevation_bottom_coarse |
| DOUBLEVECTOR* elevation_bottom_fine |
| DOUBLEVECTOR* elevation_bottom_flines |
| PARAM* param |
| DOUBLEVECTOR* porosity_fine |
| S_TIMES* s_times |
map of instantaneous water mass error
eta_v and sources and dirichlet are defined as a global value, t_diagonal is the diagonal of t_st_element tensor
Definition at line 72 of file b_solver.c.
| DOUBLEVECTOR* water_mass_error |
| DOUBLEVECTOR* water_surface_elevation |