amroc/hds/src/DAGHIO_hdf_ncsa.C File Reference

Implementation IO Interface to NCSA AMR HDF Files. More...

#include "DAGHIO_hdf_ncsa.h"
#include "DAGHParams.h"
#include "DAGHIOParams.h"
#include "PackedGridDataBucket.h"
#include "sds.h"
#include "amrsds.h"
#include "DAGH.h"
#include <iostream>
#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <unistd.h>
#include <vector>
#include <sys/types.h>
#include <sys/stat.h>

Defines

#define MAXPROCS   1024

Typedefs

typedef GridData< float32, 3 > data_block_type
typedef std::pair
< data_block_type *, int32 > 
storage_type
typedef std::vector< storage_typeblock_list_type

Functions

void ensure_dir (char *filename)
void DAGHIO_HDF_NCSA_Write (GridHierarchy &gh, struct gdhdr *hdr, void *data)
void DAGHIO_HDF_NCSA_Read (GridHierarchy &gh, struct gdhdr *hdr, void *data)
void DAGHIO_HDF_NCSA_Flush (GridHierarchy &gh)
void DAGHIO_HDF_NCSA_Close (GridHierarchy &gh)

Variables

char * lastfilename_write = static_cast<char*>(0)
char * lastfilename_read = static_cast<char*>(0)
block_list_type read_list
float64 RealTime_read

Detailed Description

Implementation IO Interface to NCSA AMR HDF Files.

Author:
Manish Parashar, Paul Walker

Define Documentation

#define MAXPROCS   1024

Referenced by DAGHIO_HDF_NCSA_Read().


Typedef Documentation

typedef std::vector<storage_type> block_list_type
typedef GridData<float32,3> data_block_type
typedef std::pair<data_block_type*,int32> storage_type

Function Documentation

void DAGHIO_HDF_NCSA_Close ( GridHierarchy gh  ) 

References DAGHIO_HDF_NCSA_Flush(), and SDScloseAll().

Referenced by DAGHIOInit().

void DAGHIO_HDF_NCSA_Flush ( GridHierarchy gh  ) 
void ensure_dir ( char *  filename  ) 

Referenced by DAGHIO_HDF_NCSA_Write().


Variable Documentation

char* lastfilename_read = static_cast<char*>(0)
char* lastfilename_write = static_cast<char*>(0)
float64 RealTime_read

Referenced by DAGHIO_HDF_NCSA_Read().

Generated on Thu Jun 30 02:19:00 2016 for AMROC's Hierachical Data Structures by  doxygen 1.6.3