#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "nvector_serial.h"
#include "sundials_types.h"
#include "ihm.h"
#include "cvode.h"
#include "cvode_dense.h"
Include dependency graph for print_functions.cpp:
Go to the source code of this file.
Functions | |
void | PrintModelData (Model_Data DS) |
void | PrintEle (Model_Data DS) |
void | PrintEleAtt (Model_Data DS) |
void | PrintNode (Model_Data DS) |
void | PrintSoil (Model_Data DS) |
void | PrintTS (TSD *Data, int NumTS) |
void | PrintRiv (Model_Data DS) |
void | PrintForcing (Model_Data DS) |
void | PrintDY (Model_Data DS, N_Vector CV_Y, N_Vector CV_Ydot) |
void | PrintY (Model_Data DS, N_Vector CV_Y, realtype t) |
void | FPrintYheader (FILE *res_file, Model_Data mData) |
void | FPrintY (Model_Data DS, N_Vector CV_Y, realtype t, FILE *res_file) |
void | FPrintFlux (Model_Data DS, realtype t, FILE *res_file) |
void | FPrintETISheader (FILE *res_file, Model_Data DS) |
void | FPrintETIS (Model_Data DS, realtype t, FILE *res_file) |
void | FPrintQ (Model_Data DS, realtype t, FILE *res_file) |
void FPrintETIS | ( | Model_Data | DS, | |
realtype | t, | |||
FILE * | res_file | |||
) |
Definition at line 525 of file print_functions.cpp.
References model_data_structure::EleET, model_data_structure::EleIS, and model_data_structure::NumEle.
void FPrintETISheader | ( | FILE * | res_file, | |
Model_Data | DS | |||
) |
Definition at line 506 of file print_functions.cpp.
References model_data_structure::NumEle, model_data_structure::NumRiv, and model_data_structure::UnsatMode.
void FPrintFlux | ( | Model_Data | DS, | |
realtype | t, | |||
FILE * | res_file | |||
) |
Definition at line 460 of file print_functions.cpp.
References model_data_structure::FluxRiv, model_data_structure::FluxSub, model_data_structure::FluxSurf, model_data_structure::NumEle, model_data_structure::NumRiv, and model_data_structure::Q.
void FPrintQ | ( | Model_Data | DS, | |
realtype | t, | |||
FILE * | res_file | |||
) |
void FPrintY | ( | Model_Data | DS, | |
N_Vector | CV_Y, | |||
realtype | t, | |||
FILE * | res_file | |||
) |
Definition at line 311 of file print_functions.cpp.
References element_type::Alpha, element_type::Beta, model_data_structure::Ele, model_data_structure::NumEle, model_data_structure::NumRiv, model_data_structure::Q, model_data_structure::UnsatMode, element_type::zmax, and element_type::zmin.
void FPrintYheader | ( | FILE * | res_file, | |
Model_Data | mData | |||
) |
Definition at line 294 of file print_functions.cpp.
References model_data_structure::NumEle, model_data_structure::NumRiv, and model_data_structure::UnsatMode.
void PrintDY | ( | Model_Data | DS, | |
N_Vector | CV_Y, | |||
N_Vector | CV_Ydot | |||
) |
Definition at line 184 of file print_functions.cpp.
References element_type::Alpha, element_type::Beta, model_data_structure::Ele, model_data_structure::NumEle, model_data_structure::NumRiv, model_data_structure::UnsatMode, element_type::zmax, and element_type::zmin.
void PrintEle | ( | Model_Data | DS | ) |
Definition at line 50 of file print_functions.cpp.
References element_type::area, element_type::edge, model_data_structure::Ele, element_type::index, element_type::nabr, element_type::node, model_data_structure::NumEle, element_type::x, element_type::y, element_type::zmax, and element_type::zmin.
void PrintEleAtt | ( | Model_Data | DS | ) |
Definition at line 75 of file print_functions.cpp.
References element_type::BC, model_data_structure::Ele, model_data_structure::Ele_IC, element_type::G, element_type::humidity, element_IC_type::interception, element_type::LC, model_data_structure::NumEle, element_type::prep, element_type::pressure, element_type::Rn, element_IC_type::sat, element_IC_type::snow, element_type::soil, element_IC_type::surf, element_type::temp, element_IC_type::unsat, and element_type::WindVel.
void PrintForcing | ( | Model_Data | DS | ) |
Definition at line 172 of file print_functions.cpp.
References model_data_structure::NumG, model_data_structure::NumHumidity, model_data_structure::NumLC, model_data_structure::NumPrep, model_data_structure::NumRn, model_data_structure::NumTemp, model_data_structure::NumWindVel, PrintTS(), model_data_structure::TSD_G, model_data_structure::TSD_Humidity, model_data_structure::TSD_LAI, model_data_structure::TSD_Prep, model_data_structure::TSD_Rn, model_data_structure::TSD_Temp, and model_data_structure::TSD_WindVel.
Here is the call graph for this function:
void PrintModelData | ( | Model_Data | DS | ) |
Definition at line 38 of file print_functions.cpp.
References model_data_structure::NumInc, PrintEle(), PrintEleAtt(), PrintForcing(), PrintNode(), PrintRiv(), PrintSoil(), PrintTS(), and model_data_structure::TSD_Inc.
Here is the call graph for this function:
void PrintNode | ( | Model_Data | DS | ) |
Definition at line 94 of file print_functions.cpp.
References nodes_type::index, model_data_structure::Node, model_data_structure::NumNode, nodes_type::x, nodes_type::y, nodes_type::zmax, and nodes_type::zmin.
void PrintRiv | ( | Model_Data | DS | ) |
Definition at line 150 of file print_functions.cpp.
References river_segment_type::BC, river_segment_type::depth, river_segment_type::down, river_segment_type::FromNode, river_segment_type::index, river_segment_type::LeftEle, river_segment_type::Length, river_segment_type::material, model_data_structure::NumRiv, river_segment_type::reservoir, river_segment_type::RightEle, model_data_structure::Riv, model_data_structure::Riv_IC, river_segment_type::shape, river_segment_type::ToNode, river_IC_type::value, river_segment_type::x, river_segment_type::y, and river_segment_type::zmin.
void PrintSoil | ( | Model_Data | DS | ) |
Definition at line 113 of file print_functions.cpp.
References soils_type::Alpha, soils_type::Beta, soils_type::index, soils_type::Inf, soils_type::Ksat, model_data_structure::NumSoil, soils_type::Sf, soils_type::SitaR, soils_type::SitaS, and model_data_structure::Soil.
void PrintTS | ( | TSD * | Data, | |
int | NumTS | |||
) |
Definition at line 132 of file print_functions.cpp.
References TSD_type::length, and name().
Here is the call graph for this function:
void PrintY | ( | Model_Data | DS, | |
N_Vector | CV_Y, | |||
realtype | t | |||
) |
Definition at line 241 of file print_functions.cpp.
References element_type::Alpha, element_type::Beta, model_data_structure::Ele, model_data_structure::NumEle, model_data_structure::NumRiv, model_data_structure::UnsatMode, element_type::zmax, and element_type::zmin.