print.h File Reference

define output file mode and which output paramater to print. Also, corresponding function declaration More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TXT   1
#define CDF   2
#define YEA   1
#define NAY   0
#define FPRINT_MODE   CDF
#define ISState   YEA
#define SatState   YEA
#define UsatState   YEA
#define SurfState   YEA
#define ISStateT   60
#define SatStateT   60
#define UsatStateT   60
#define SurfStateT   60
#define ET0   YEA
#define ET1   YEA
#define ET2   YEA
#define NetPpt   YEA
#define Infil   YEA
#define RECHARGE   YEA
#define ET0T   60
#define ET1T   60
#define ET2T   60
#define NetPptT   60
#define InfilT   60
#define RECHARGET   60
#define RivHead   YEA
#define RivHeadT   60
#define RivFlow   YEA
#define RivBase   YEA
#define RivSurf   YEA
#define RivFlowT   60
#define RivBaseT   60
#define RivSurfT   60
#define FluxSurf   YEA
#define FluxSat   YEA
#define FluxSurfT   60
#define FluxSatT   60

Functions

void FPrintInit (Model_Data)
 Initializes several variables and allocates memory depending on output file mode and variables user wants to output.
void printIS (Model_Data, FILE *, realtype)
 Function to print Interception Storage in TXT format.
void printIScdf (Model_Data, int, int, realtype)
 Function to print Interception Storage in CDF format.
void printSatState (Model_Data, N_Vector, FILE *, realtype)
 Function to print Saturated State (head) in TXT format.
void printSatStatecdf (Model_Data, N_Vector, int, int, realtype)
 Function to print Saturated State (head) in CDF format.
void printUsatState (Model_Data, N_Vector, FILE *, realtype)
 Function to print Unsaturated State (head) in TXT format.
void printUsatStatecdf (Model_Data, N_Vector, int, int, realtype)
 Function to print Unsaturated State (head) in CDF format.
void printSurfState (Model_Data, N_Vector, FILE *, realtype)
 Function to print Surface Flow State (head) in TXT format.
void printSurfStatecdf (Model_Data, N_Vector, int, int, realtype)
 Function to print Surface Flow State (head) in CDF format.
void printET0 (Model_Data, FILE *, realtype)
 Function to print ET0 in TXT format.
void printET0cdf (Model_Data, int, int, realtype)
 Function to print ET0 in CDF format.
void printET1 (Model_Data, FILE *, realtype)
 Function to print ET1 in TXT format.
void printET1cdf (Model_Data, int, int, realtype)
 Function to print ET1 in CDF format.
void printET2 (Model_Data, FILE *, realtype)
 Function to print ET2 in TXT format.
void printET2cdf (Model_Data, int, int, realtype)
 Function to print ET2 in CDF format.
void printNetPpt (Model_Data, FILE *, realtype)
 Function to print Net Precipitation in TXT format.
void printNetPptcdf (Model_Data, int, int, realtype)
 Function to print Net Precipitation in CDF format.
void printInfil (Model_Data, FILE *, realtype)
 Function to print Variable Infiltration in TXT format.
void printInfilcdf (Model_Data, int, int, realtype)
 Function to print Variable Infiltration in CDF format.
void printRecharge (Model_Data, FILE *, realtype)
 Function to print Recharge to GW in TXT format.
void printRechargecdf (Model_Data, int, int, realtype)
 Function to print Recharge to GW in CDF format.
void printRiverFlow (Model_Data, N_Vector, FILE *, realtype)
 prints the outflow from each river segment to the flow_file in TXT format
void printRiverFlowcdf (Model_Data, N_Vector, int, int, realtype)
 prints the outflow from each river segment to the flow_file in CDF format
void printRiverBase (Model_Data, FILE *, realtype)
 Function to print Baseflow to River in TXT format.
void printRiverBasecdf (Model_Data, int, int, realtype)
 Function to print Base flow to River in CDF format.
void printRiverSurf (Model_Data, FILE *, realtype)
 Function to print Surfaceflow to River in TXT format.
void printRiverSurfcdf (Model_Data, int, int, realtype)
 Function to print Surfaceflow to River in CDF format.
void printRiverHead (Model_Data, N_Vector, FILE *, realtype)
 Function to print River State (head) in TXT format.
void printRiverHeadcdf (Model_Data, N_Vector, int, int, realtype)
 Function to print River State (head) in CDF format.
void FPrintCloseAll (void)
 Close all the files those were opened in function FPrintInit.


Detailed Description

define output file mode and which output paramater to print. Also, corresponding function declaration

Definition in file print.h.


Define Documentation

#define CDF   2

CDF is read as 2

Definition at line 24 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define ET0   YEA

Output evaporation rate from cannopy? YEA:NAY

Definition at line 49 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define ET0T   60

Output mean evaporation rate from cannopy at _ minute intervel

Definition at line 56 of file print.h.

Referenced by printET0(), and printET0cdf().

#define ET1   YEA

Output ET1? YEA:NAY

Definition at line 50 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define ET1T   60

Output mean et1 at _ minute intervel

Definition at line 57 of file print.h.

Referenced by printET1(), and printET1cdf().

#define ET2   YEA

Output ET2? YEA:NAY

Definition at line 51 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define ET2T   60

Output mean et2 at _ minute intervel

Definition at line 58 of file print.h.

Referenced by printET2(), and printET2cdf().

#define FluxSat   YEA

Definition at line 76 of file print.h.

#define FluxSatT   60

Definition at line 79 of file print.h.

#define FluxSurf   YEA

Definition at line 75 of file print.h.

#define FluxSurfT   60

Definition at line 78 of file print.h.

#define FPRINT_MODE   CDF

Specify output file mode: 1=.txt; 2=.nc

Definition at line 35 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define Infil   YEA

Output infiltration rate? YEA:NAY

Definition at line 53 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define InfilT   60

Output infiltration rate at _ minute intervel

Definition at line 60 of file print.h.

Referenced by printInfil(), and printInfilcdf().

#define ISState   YEA

Output interception storage state? YEA:NAY

Definition at line 39 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define ISStateT   60

Output mean interception storage at _ minute intervel

Definition at line 44 of file print.h.

Referenced by printIS(), and printIScdf().

#define NAY   0

NAY is read as 0

Definition at line 28 of file print.h.

#define NetPpt   YEA

Output net precipitation rate? YEA:NAY

Definition at line 52 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define NetPptT   60

Output mean net precipitation rate at _ minute intervel

Definition at line 59 of file print.h.

Referenced by printNetPpt(), and printNetPptcdf().

#define RECHARGE   YEA

Output recharge rate to ground water? YEA:NAY

Definition at line 54 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define RECHARGET   60

Output recharge rate to groundwater at _ minute intervel

Definition at line 61 of file print.h.

Referenced by printRecharge(), and printRechargecdf().

#define RivBase   YEA

Output baseflow to river segments? YEA:NAY

Definition at line 68 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define RivBaseT   60

Output baseflow to river segments at _ minute intervel

Definition at line 72 of file print.h.

Referenced by printRiverBase(), and printRiverBasecdf().

#define RivFlow   YEA

Output outflow from river segments? YEA:NAY

Definition at line 67 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define RivFlowT   60

Output outflow from river segments at _ minute intervel

Definition at line 71 of file print.h.

#define RivHead   YEA

Output head of river segments? YEA:NAY

Definition at line 63 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define RivHeadT   60

Output river head at _ minute intervel

Definition at line 65 of file print.h.

Referenced by printRiverHead(), and printRiverHeadcdf().

#define RivSurf   YEA

Output surfaceflow to river segments? YEA:NAY

Definition at line 69 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define RivSurfT   60

Output surfaceflow to river segments at _ minute intervel

Definition at line 73 of file print.h.

Referenced by printRiverSurf(), and printRiverSurfcdf().

#define SatState   YEA

Output staturated zone state? YEA:NAY

Definition at line 40 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define SatStateT   60

Output mean saturated zone state at _ minute intervel

Definition at line 45 of file print.h.

Referenced by printSatState(), and printSatStatecdf().

#define SurfState   YEA

Output surface state? YEA:NAY

Definition at line 42 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define SurfStateT   60

Output mean surface state at _ minute intervel

Definition at line 47 of file print.h.

Referenced by printSurfState(), and printSurfStatecdf().

#define TXT   1

TXT is read as 1

Definition at line 23 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define UsatState   YEA

Output unsaturated zone state? YEA:NAY

Definition at line 41 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().

#define UsatStateT   60

Output mean unsaturated zone state at _ minute intervel

Definition at line 46 of file print.h.

Referenced by printUsatState(), and printUsatStatecdf().

#define YEA   1

YEA is read as 1

Definition at line 27 of file print.h.

Referenced by FPrint(), FPrintCloseAll(), and FPrintInit().


Function Documentation

void FPrintCloseAll ( void   ) 

Close all the files those were opened in function FPrintInit.

Definition at line 730 of file print.c.

References CDF, ET0, et0ID, et0Ptr, ET1, et1ID, et1Ptr, ET2, et2ID, et2Ptr, FPRINT_MODE, Infil, infilID, infilPtr, ISState, isStateID, isStatePtr, NetPpt, netPrecipID, netPrecipPtr, RECHARGE, rechargeID, rechargePtr, RivBase, rivBaseID, rivBasePtr, RivFlow, rivFlowID, rivFlowPtr, RivHead, rivHeadID, rivHeadPtr, RivSurf, rivSurfID, rivSurfPtr, SatState, satStateID, satStatePtr, SurfState, surfStateID, surfStatePtr, TXT, UsatState, usatStateID, usatStatePtr, and YEA.

void FPrintInit ( Model_Data  mData  ) 

Initializes several variables and allocates memory depending on output file mode and variables user wants to output.

Parameters:
mData is pointer to model data structure

Definition at line 247 of file print.c.

References CDF, countEle, countRiv, dimids, ele_dimid, ERR, ET0, et0_varid, et0File, et0ID, et0Ptr, ET1, et1_varid, et1File, et1ID, et1Ptr, ET2, et2_varid, et2File, et2ID, et2Ptr, FPRINT_MODE, Infil, infil_varid, infilFile, infilID, infilPtr, ISState, isState_varid, isStateFile, isStateID, isStatePtr, NDIMS, NetPpt, netPrecip_varid, netPrecipFile, netPrecipID, netPrecipPtr, model_data_structure::NumEle, NUMELE, model_data_structure::NumRiv, NUMRIV, rec_dimid, RECHARGE, recharge_varid, rechargeFile, rechargeID, rechargePtr, retval, RivBase, rivBase_varid, rivBaseFile, rivBaseID, rivBasePtr, RivFlow, rivFlow_varid, rivFlowFile, rivFlowID, rivFlowPtr, RivHead, rivHead_varid, rivHeadFile, rivHeadID, rivHeadPtr, RivSurf, rivSurf_varid, rivSurfFile, rivSurfID, rivSurfPtr, SatState, satState_varid, satStateFile, satStateID, satStatePtr, setFileName(), startEle, SurfState, surfState_varid, surfStateFile, surfStateID, surfStatePtr, tempBase, tempET0, tempET1, tempET2, tempFlow, tempHead, tempInfil, tempIS, tempNetPpt, tempRecharge, tempSatState, tempSurf, tempSurfState, tempUsatState, TXT, UsatState, usatState_varid, usatStateFile, usatStateID, usatStatePtr, and YEA.

Here is the call graph for this function:

void printET0 ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print ET0 in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1414 of file print.c.

References model_data_structure::Ele, model_data_structure::EleET, ET0T, model_data_structure::NumEle, tempET0, and element_type::VegFrac.

Referenced by FPrint().

void printET0cdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print ET0 in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1435 of file print.c.

References countEle, model_data_structure::Ele, model_data_structure::EleET, ERR, ET0T, model_data_structure::NumEle, retval, startEle, tempET0, and element_type::VegFrac.

Referenced by FPrint().

void printET1 ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print ET1 in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1459 of file print.c.

References model_data_structure::EleET, ET1T, model_data_structure::NumEle, and tempET1.

Referenced by FPrint().

void printET1cdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print ET1 in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1480 of file print.c.

References countEle, model_data_structure::EleET, ERR, ET1T, model_data_structure::NumEle, retval, startEle, and tempET1.

Referenced by FPrint().

void printET2 ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print ET2 in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1505 of file print.c.

References model_data_structure::EleET, ET2T, model_data_structure::NumEle, and tempET2.

Referenced by FPrint().

void printET2cdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print ET2 in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1526 of file print.c.

References countEle, model_data_structure::EleET, ERR, ET2T, model_data_structure::NumEle, retval, startEle, and tempET2.

Referenced by FPrint().

void printInfil ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print Variable Infiltration in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1595 of file print.c.

References model_data_structure::EleVic, InfilT, model_data_structure::NumEle, and tempInfil.

Referenced by FPrint().

void printInfilcdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Variable Infiltration in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1616 of file print.c.

References countEle, model_data_structure::EleVic, ERR, InfilT, model_data_structure::NumEle, retval, startEle, and tempInfil.

Referenced by FPrint().

void printIS ( Model_Data  mData,
FILE *  isFile,
realtype  t 
)

Function to print Interception Storage in TXT format.

Parameters:
mData is the pointer to the model data structure
isFile is the pointer to the output file
t is the time of current simulation

Definition at line 1228 of file print.c.

References model_data_structure::EleIS, ISStateT, model_data_structure::NumEle, and tempIS.

Referenced by FPrint().

void printIScdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Interception Storage in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1249 of file print.c.

References countEle, model_data_structure::EleIS, ERR, ISStateT, model_data_structure::NumEle, retval, startEle, and tempIS.

Referenced by FPrint().

void printNetPpt ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print Net Precipitation in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1550 of file print.c.

References model_data_structure::EleNetPrep, NetPptT, model_data_structure::NumEle, and tempNetPpt.

Referenced by FPrint().

void printNetPptcdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Net Precipitation in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1571 of file print.c.

References countEle, model_data_structure::EleNetPrep, ERR, NetPptT, model_data_structure::NumEle, retval, startEle, and tempNetPpt.

Referenced by FPrint().

void printRecharge ( Model_Data  mData,
FILE *  file,
realtype  t 
)

Function to print Recharge to GW in TXT format.

Parameters:
mData is the pointer to the model data structure
file is the pointer to the output file
t is the time of current simulation

Definition at line 1640 of file print.c.

References model_data_structure::NumEle, model_data_structure::Recharge, RECHARGET, and tempRecharge.

Referenced by FPrint().

void printRechargecdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Recharge to GW in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1661 of file print.c.

References countEle, ERR, model_data_structure::NumEle, model_data_structure::Recharge, RECHARGET, retval, startEle, and tempRecharge.

Referenced by FPrint().

void printRiverBase ( Model_Data  mData,
FILE *  rivBaseFile,
realtype  t 
)

Function to print Baseflow to River in TXT format.

Parameters:
mData is the pointer to the model data structure
rivBaseFile is the pointer to the output file
t is the time of current simulation

Definition at line 1091 of file print.c.

References model_data_structure::FluxRiv, model_data_structure::NumRiv, RivBaseT, and tempBase.

Referenced by FPrint().

void printRiverBasecdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Base flow to River in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1112 of file print.c.

References countRiv, ERR, model_data_structure::FluxRiv, model_data_structure::NumRiv, retval, RivBaseT, startRiv, and tempBase.

Referenced by FPrint().

void printRiverFlow ( Model_Data  mData,
N_Vector  CV_Y,
FILE *  flow_file,
realtype  t 
)

prints the outflow from each river segment to the flow_file in TXT format

Parameters:
mData is the pointer to the model data structure
CV_Y is the state variable vector
flow_file is the pointer to the output file
t is the time of current simulation

Avg perimeter

Definition at line 927 of file print.c.

References river_shape_type::coeff, river_segment_type::down, FPrint_CS_AreaOrPerem(), river_shape_type::interpOrd, model_data_structure::NumEle, model_data_structure::NumRiv, model_data_structure::Riv, model_data_structure::Riv_Shape, river_segment_type::shape, and river_segment_type::zmin.

Referenced by FPrint().

Here is the call graph for this function:

void printRiverFlowcdf ( Model_Data  mData,
N_Vector  CV_Y,
int  ncid,
int  data_varid,
realtype  t 
)

prints the outflow from each river segment to the flow_file in CDF format

Parameters:
mData is the pointer to the model data structure
CV_Y is the state variable vector
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Avg perimeter

Definition at line 1007 of file print.c.

References river_shape_type::coeff, river_segment_type::down, FPrint_CS_AreaOrPerem(), river_shape_type::interpOrd, model_data_structure::NumEle, model_data_structure::NumRiv, model_data_structure::Riv, model_data_structure::Riv_Shape, river_segment_type::shape, and river_segment_type::zmin.

Referenced by FPrint().

Here is the call graph for this function:

void printRiverHead ( Model_Data  mData,
N_Vector  CV_Y,
FILE *  rivHeadFile,
realtype  t 
)

Function to print River State (head) in TXT format.

Parameters:
mData is the pointer to the model data structure
CV_Y is the state variable vector
rivHeadFile is the pointer to the output file
t is the time of current simulation

Definition at line 1181 of file print.c.

References model_data_structure::NumEle, model_data_structure::NumRiv, RivHeadT, and tempHead.

Referenced by FPrint().

void printRiverHeadcdf ( Model_Data  mData,
N_Vector  CV_Y,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print River State (head) in CDF format.

Parameters:
mData is the pointer to the model data structure
CV_Y is the state variable vector
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1203 of file print.c.

References countRiv, ERR, model_data_structure::NumEle, model_data_structure::NumRiv, retval, RivHeadT, startRiv, and tempHead.

Referenced by FPrint().

void printRiverSurf ( Model_Data  mData,
FILE *  rivSurfFile,
realtype  t 
)

Function to print Surfaceflow to River in TXT format.

Parameters:
mData is the pointer to the model data structure
rivSurfFile is the pointer to the output file
t is the time of current simulation

Definition at line 1136 of file print.c.

References model_data_structure::FluxRiv, model_data_structure::NumRiv, RivSurfT, and tempSurf.

Referenced by FPrint().

void printRiverSurfcdf ( Model_Data  mData,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Surfaceflow to River in CDF format.

Parameters:
mData is the pointer to the model data structure
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1157 of file print.c.

References countRiv, ERR, model_data_structure::FluxRiv, model_data_structure::NumRiv, retval, RivSurfT, startRiv, and tempSurf.

Referenced by FPrint().

void printSatState ( Model_Data  mData,
N_Vector  CV_Y,
FILE *  file,
realtype  t 
)

Function to print Saturated State (head) in TXT format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
file is the pointer to the output file
t is the time of current simulation

Definition at line 1273 of file print.c.

References model_data_structure::NumEle, SatStateT, and tempSatState.

Referenced by FPrint().

void printSatStatecdf ( Model_Data  mData,
N_Vector  CV_Y,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Saturated State (head) in CDF format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1295 of file print.c.

References countEle, ERR, model_data_structure::NumEle, retval, SatStateT, startEle, and tempSatState.

Referenced by FPrint().

void printSurfState ( Model_Data  mData,
N_Vector  CV_Y,
FILE *  file,
realtype  t 
)

Function to print Surface Flow State (head) in TXT format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
file is the pointer to the output file
t is the time of current simulation

Definition at line 1367 of file print.c.

References model_data_structure::NumEle, SurfStateT, and tempSurfState.

Referenced by FPrint().

void printSurfStatecdf ( Model_Data  mData,
N_Vector  CV_Y,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Surface Flow State (head) in CDF format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1389 of file print.c.

References countEle, ERR, model_data_structure::NumEle, retval, startEle, SurfStateT, and tempSurfState.

Referenced by FPrint().

void printUsatState ( Model_Data  mData,
N_Vector  CV_Y,
FILE *  file,
realtype  t 
)

Function to print Unsaturated State (head) in TXT format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
file is the pointer to the output file
t is the time of current simulation

Definition at line 1320 of file print.c.

References model_data_structure::NumEle, tempUsatState, and UsatStateT.

Referenced by FPrint().

void printUsatStatecdf ( Model_Data  mData,
N_Vector  CV_Y,
int  ncid,
int  data_varid,
realtype  t 
)

Function to print Unsaturated State (head) in CDF format.

Parameters:
mData is the pointer to the model data structure
CV_Y is state variable vector
ncid is the netcdf file identifier
data_varid is the netcdf variable identifier
t is the time of current simulation

Definition at line 1342 of file print.c.

References countEle, ERR, model_data_structure::NumEle, retval, startEle, tempUsatState, and UsatStateT.

Referenced by FPrint().


Generated on Thu Jul 12 14:34:20 2007 for PIHM by  doxygen 1.5.2