#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include "nvector_serial.h"#include "sundials_types.h"#include "ihm.h"#include "calib.h"Include dependency graph for f.cpp:

Go to the source code of this file.
Defines | |
| #define | EPSILON 0.05 |
| #define | THRESH 0.0 |
| #define | GRAV 73231257600.0 |
| #define | ABS_TOL 1E-4 |
Functions | |
| realtype | Interpolation (TSD *Data, realtype t) |
| realtype | returnVal (realtype rArea, realtype rPerem, realtype eqWid, realtype ap_Bool) |
| realtype | CS_AreaOrPerem (int rivOrder, realtype rivDepth, realtype rivCoeff, realtype a_pBool) |
| void | OverlandFlow (realtype **flux, int loci, int locj, int surfmode, realtype avg_y, realtype grad_y, realtype avg_sf, realtype alfa, realtype beta, realtype crossA, realtype avg_rough, int eletypeBool, realtype avg_perem) |
| void | OLflowFromEleToRiv (realtype sideEle_y, realtype sideEle_zmax, realtype rivX, realtype sideEleX, realtype rivY, realtype sideEleY, realtype cwr, realtype rivZmax, realtype loc_yriver, realtype **fluxriv, int loc_i, int loc_j, realtype length) |
| void | GWflowFromEleToRiv (realtype sideEle_y, realtype sideEle_zmax, realtype sideEle_zmin, realtype rivX, realtype sideEleX, realtype rivY, realtype sideEleY, int loc_McPore, realtype loc_yriver, realtype loc_totyriver, realtype **fluxriv, int loc_i, int loc_j, realtype length, realtype loc_base, realtype loc_gama, realtype loc_perem, realtype loc_ksat, realtype ele_Thresh) |
| int | f (realtype t, N_Vector CV_Y, N_Vector CV_Ydot, void *DS) |
Variables | |
| realtype | Vic_CALIB |
| realtype | rivK_CALIB |
| realtype | Kh_CALIB |
| realtype | Rec_CALIB |
| realtype | et2_CALIB |
| realtype | et1_CALIB |
| realtype | sat_THRESH |
| realtype | mp_MULTFH |
| realtype | mp_MULTFV |
| realtype | mpArea_CALIB |
| realtype | ovl_THRESH_H |
| realtype | ovl_THRESH_V |
| realtype | rzd_CALIB |
| realtype CS_AreaOrPerem | ( | int | rivOrder, | |
| realtype | rivDepth, | |||
| realtype | rivCoeff, | |||
| realtype | a_pBool | |||
| ) |
Definition at line 95 of file f.cpp.
References EPSILON, and returnVal().
Here is the call graph for this function:

| int f | ( | realtype | t, | |
| N_Vector | CV_Y, | |||
| N_Vector | CV_Ydot, | |||
| void * | DS | |||
| ) |
printf("%.35lf %d %lf\n",t, i, Y[i]);
Avg perimeter
delete replace Wid by 0.5*avg_perim
delete replace Wid by 0.5*avg_perim
delete derive denominator to be replace by volume
Definition at line 287 of file f.cpp.
References ABS_TOL, model_data_structure::Ele, et1_CALIB, et2_CALIB, Kh_CALIB, mp_MULTFH, mp_MULTFV, mpArea_CALIB, model_data_structure::NumEle, model_data_structure::NumRiv, ovl_THRESH_H, ovl_THRESH_V, Rec_CALIB, rivK_CALIB, rzd_CALIB, sat_THRESH, setet1_CALIB(), setet2_CALIB(), setKh_CALIB(), setmp_MULTFH(), setmp_MULTFV(), setmpArea_CALIB(), setovl_THRESH_H(), setovl_THRESH_V(), setRec_CALIB(), setrivK_CALIB(), setrzd_CALIB(), setsat_THRESH(), setVic_CALIB(), Vic_CALIB, element_type::zmax, and element_type::zmin.
Here is the call graph for this function:

| void GWflowFromEleToRiv | ( | realtype | sideEle_y, | |
| realtype | sideEle_zmax, | |||
| realtype | sideEle_zmin, | |||
| realtype | rivX, | |||
| realtype | sideEleX, | |||
| realtype | rivY, | |||
| realtype | sideEleY, | |||
| int | loc_McPore, | |||
| realtype | loc_yriver, | |||
| realtype | loc_totyriver, | |||
| realtype ** | fluxriv, | |||
| int | loc_i, | |||
| int | loc_j, | |||
| realtype | length, | |||
| realtype | loc_base, | |||
| realtype | loc_gama, | |||
| realtype | loc_perem, | |||
| realtype | loc_ksat, | |||
| realtype | ele_Thresh | |||
| ) |
| realtype Interpolation | ( | TSD * | Data, | |
| realtype | t | |||
| ) |
| void OLflowFromEleToRiv | ( | realtype | sideEle_y, | |
| realtype | sideEle_zmax, | |||
| realtype | rivX, | |||
| realtype | sideEleX, | |||
| realtype | rivY, | |||
| realtype | sideEleY, | |||
| realtype | cwr, | |||
| realtype | rivZmax, | |||
| realtype | loc_yriver, | |||
| realtype ** | fluxriv, | |||
| int | loc_i, | |||
| int | loc_j, | |||
| realtype | length | |||
| ) |
| void OverlandFlow | ( | realtype ** | flux, | |
| int | loci, | |||
| int | locj, | |||
| int | surfmode, | |||
| realtype | avg_y, | |||
| realtype | grad_y, | |||
| realtype | avg_sf, | |||
| realtype | alfa, | |||
| realtype | beta, | |||
| realtype | crossA, | |||
| realtype | avg_rough, | |||
| int | eletypeBool, | |||
| realtype | avg_perem | |||
| ) |
| realtype returnVal | ( | realtype | rArea, | |
| realtype | rPerem, | |||
| realtype | eqWid, | |||
| realtype | ap_Bool | |||
| ) |
| realtype mpArea_CALIB |
| realtype ovl_THRESH_H |
| realtype ovl_THRESH_V |
| realtype rivK_CALIB |
| realtype sat_THRESH |
1.5.2