8 #include <vapor/DataMgr.h>
18 DataMgrRAMSES(
const std::vector <string> &files,
size_t mem_size );
23 virtual int Initialize(std::vector <string> files);
34 bs[0] = bs[1] = bs[2] = _bs;
38 return(_variableNames);
42 std::vector <string> empty;
return (empty);
46 std::vector <string> empty;
return (empty);
50 std::vector <string> empty;
return (empty);
53 virtual int _OpenVariableRead(
54 size_t timestep,
const char *varname,
int level,
int
62 virtual int _CloseVariable();
71 vector <long> p; p.push_back(0); p.push_back(1); p.push_back(2);
77 virtual void _GetDim(
size_t dim[3],
int level)
const ;
79 virtual void _GetValidRegion(
size_t min[3],
size_t max[3],
int)
const;
81 virtual int _BlockReadRegion(
const size_t *,
const size_t *,
float *region);
84 if (ts>=_userTime.size()) ts = _userTime.size()-1;
85 return(_userTime[ts]);
88 virtual void _GetTSUserTimeStamp(
size_t ts,
string &s)
const;
90 virtual int _VariableExists(
91 size_t ts,
const char *varname,
int reflevel = 0,
int lod = 0
96 vector <string> _dataset;
99 std::vector <string> _variableNames;
100 std::vector <double> _userTime;
103 std::vector <double> _extents;
104 std::vector<long> _bool_false;
106 size_t _open_timestep;
110 int _varLookup(
string varname);
virtual string _GetGridType() const
virtual std::vector< string > _GetVariables2DYZ() const
A cache based data reader.
virtual std::vector< string > _GetVariables2DXZ() const
virtual bool _GetMissingValue(string varname, float &value) const
virtual string _GetMapProjection() const
virtual std::vector< long > _GetGridPermutation() const
virtual double _GetTSUserTime(size_t ts) const
virtual long _GetNumTimeSteps() const
virtual std::vector< long > _GetPeriodicBoundary() const
virtual const float * _GetDataRange() const
virtual std::vector< string > _GetVariables3D() const
virtual std::vector< string > _GetVariables2DXY() const
virtual std::vector< double > _GetExtents(size_t ts) const
virtual int _GetNumTransforms() const
virtual void _GetBlockSize(size_t bs[3], int reflevel) const