BG_Flood  0.8
Documentation (Work-in-progress)
Write_netcdf.h File Reference
#include "General.h"
#include "Param.h"
#include "Write_txtlog.h"
#include "ReadInput.h"
#include "MemManagement.h"
#include "Util_CPU.h"
Include dependency graph for Write_netcdf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void handle_ncerror (int status)
 
template<class T >
void creatncfileBUQ (Param &XParam, int *activeblk, int *level, T *blockxo, T *blockyo, outzoneB &Xzone)
 
template<class T >
void creatncfileBUQ (Param &XParam, BlockP< T > &XBlock)
 
template<class T >
void defncvarBUQ (Param XParam, int *activeblk, int *level, T *blockxo, T *blockyo, std::string varst, int vdim, T *var, outzoneB Xzone)
 
template<class T >
void writencvarstepBUQ (Param XParam, int vdim, int *activeblk, int *level, T *blockxo, T *blockyo, std::string varst, T *var, outzoneB Xzone)
 
template<class T >
void InitSave2Netcdf (Param &XParam, Model< T > &XModel)
 
void writenctimestep (std::string outfile, double totaltime)
 
template<class T >
void Save2Netcdf (Param XParam, Loop< T > XLoop, Model< T > XModel)
 
void create2dnc (char *filename, int nx, int ny, double *xx, double *yy, double *var, char *varname)
 
void create3dnc (char *name, int nx, int ny, int nt, double *xx, double *yy, double *theta, double *var, char *varname)
 
void write3dvarnc (int nx, int ny, int nt, double totaltime, double *var)
 
void write2dvarnc (int nx, int ny, double totaltime, double *var)
 

Function Documentation

◆ create2dnc()

void create2dnc ( char *  filename,
int  nx,
int  ny,
double *  xx,
double *  yy,
double *  var,
char *  varname 
)

◆ create3dnc()

void create3dnc ( char *  name,
int  nx,
int  ny,
int  nt,
double *  xx,
double *  yy,
double *  theta,
double *  var,
char *  varname 
)

◆ creatncfileBUQ() [1/2]

template<class T >
void creatncfileBUQ ( Param XParam,
BlockP< T > &  XBlock 
)

◆ creatncfileBUQ() [2/2]

template<class T >
void creatncfileBUQ ( Param XParam,
int *  activeblk,
int *  level,
T *  blockxo,
T *  blockyo,
outzoneB Xzone 
)

◆ defncvarBUQ()

template<class T >
void defncvarBUQ ( Param  XParam,
int *  activeblk,
int *  level,
T *  blockxo,
T *  blockyo,
std::string  varst,
int  vdim,
T *  var,
outzoneB  Xzone 
)

◆ handle_ncerror()

void handle_ncerror ( int  status)

◆ InitSave2Netcdf()

template<class T >
void InitSave2Netcdf ( Param XParam,
Model< T > &  XModel 
)

◆ Save2Netcdf()

template<class T >
void Save2Netcdf ( Param  XParam,
Loop< T >  XLoop,
Model< T >  XModel 
)

◆ write2dvarnc()

void write2dvarnc ( int  nx,
int  ny,
double  totaltime,
double *  var 
)

◆ write3dvarnc()

void write3dvarnc ( int  nx,
int  ny,
int  nt,
double  totaltime,
double *  var 
)

◆ writenctimestep()

void writenctimestep ( std::string  outfile,
double  totaltime 
)

◆ writencvarstepBUQ()

template<class T >
void writencvarstepBUQ ( Param  XParam,
int  vdim,
int *  activeblk,
int *  level,
T *  blockxo,
T *  blockyo,
std::string  varst,
T *  var,
outzoneB  Xzone 
)