BG_Flood  0.8
Documentation (Work-in-progress)
Write_netcdf.h
Go to the documentation of this file.
1 
2 #ifndef WRITENETCDF_H
3 #define WRITENETCDF_H
4 
5 #include "General.h"
6 #include "Param.h"
7 #include "Write_txtlog.h"
8 #include "ReadInput.h"
9 #include "MemManagement.h"
10 #include "Util_CPU.h"
11 
12 void handle_ncerror(int status);
13 template<class T> void creatncfileBUQ(Param &XParam, int* activeblk, int* level, T* blockxo, T* blockyo, outzoneB &Xzone);
14 template<class T> void creatncfileBUQ(Param &XParam, BlockP<T> &XBlock);
15 template <class T> void defncvarBUQ(Param XParam, int * activeblk, int * level, T * blockxo, T *blockyo, std::string varst, int vdim, T * var, outzoneB Xzone);
16 template <class T> void writencvarstepBUQ(Param XParam, int vdim, int * activeblk, int* level, T * blockxo, T *blockyo, std::string varst, T * var, outzoneB Xzone);
17 template <class T> void InitSave2Netcdf(Param &XParam, Model<T> &XModel);
18 extern "C" void writenctimestep(std::string outfile, double totaltime);
19 template <class T> void Save2Netcdf(Param XParam, Loop<T> XLoop, Model<T> XModel);
20 
21 extern "C" void create2dnc(char* filename, int nx, int ny, double* xx, double* yy, double* var, char* varname);
22 extern "C" void create3dnc(char* name, int nx, int ny, int nt, double* xx, double* yy, double* theta, double* var, char* varname);
23 extern "C" void write3dvarnc(int nx, int ny, int nt, double totaltime, double* var);
24 extern "C" void write2dvarnc(int nx, int ny, double totaltime, double* var);
25 
26 // End of global definition
27 #endif
void InitSave2Netcdf(Param &XParam, Model< T > &XModel)
Definition: Write_netcdf.cu:849
void writenctimestep(std::string outfile, double totaltime)
Definition: Write_netcdf.cu:827
void Save2Netcdf(Param XParam, Loop< T > XLoop, Model< T > XModel)
Definition: Write_netcdf.cu:870
void defncvarBUQ(Param XParam, int *activeblk, int *level, T *blockxo, T *blockyo, std::string varst, int vdim, T *var, outzoneB Xzone)
Definition: Write_netcdf.cu:401
void write3dvarnc(int nx, int ny, int nt, double totaltime, double *var)
Definition: Write_netcdf.cu:1000
void create3dnc(char *name, int nx, int ny, int nt, double *xx, double *yy, double *theta, double *var, char *varname)
Definition: Write_netcdf.cu:945
void creatncfileBUQ(Param &XParam, int *activeblk, int *level, T *blockxo, T *blockyo, outzoneB &Xzone)
Definition: Write_netcdf.cu:80
void handle_ncerror(int status)
Definition: Write_netcdf.cu:5
void write2dvarnc(int nx, int ny, double totaltime, double *var)
Definition: Write_netcdf.cu:1033
void create2dnc(char *filename, int nx, int ny, double *xx, double *yy, double *var, char *varname)
Definition: Write_netcdf.cu:892
void writencvarstepBUQ(Param XParam, int vdim, int *activeblk, int *level, T *blockxo, T *blockyo, std::string varst, T *var, outzoneB Xzone)
Definition: Write_netcdf.cu:678
Definition: Param.h:10
Definition: Arrays.h:86
Definition: Arrays.h:203
Definition: Arrays.h:151
Definition: Arrays.h:74