18 virtual int ReadRegion(
int fd,
const std::vector<size_t> &min,
const std::vector<size_t> &max,
float *region)
override;
19 virtual int GetDimLensAtLevel(
int level, std::vector<size_t> &dims_at_level, std::vector<size_t> &bs_at_level)
const override;
20 virtual bool VariableExists(
size_t ts,
int reflevel,
int lod)
const override;
23 virtual std::vector<string>
GetInputs()
const override;
28 virtual void compute(
Grid *inGrid,
float *output,
int xd,
int yd,
int zd,
size_t realNP)
const;
38 virtual void compute(
Grid *inGrid,
float *output,
int xd,
int yd,
int zd,
size_t realNP)
const override;
44 float _minExt, _maxExt;
45 string _inputCoordVar;
51 virtual int ReadRegion(
int fd,
const std::vector<size_t> &min,
const std::vector<size_t> &max,
float *region)
override;
52 virtual std::vector<string>
GetInputs()
const override;
Base class for storing variable metadata.
A Template Method design pattern for reading a collection of data.
A cache based data reader.
DerivedCoordVar1DSpan(string derivedVarName, DC *dc, string dimName, int axis, string units, string inputCoordVar)
virtual ~DerivedCoordVar1DSpan()
DerivedCoordVar1DSpan(string derivedVarName, DC *dc, string dimName, int axis, string units, float minExt, float maxExt)
virtual int ReadRegion(int fd, const std::vector< size_t > &min, const std::vector< size_t > &max, float *region) override
virtual std::vector< string > GetInputs() const override
Derived 1D CF conventions coordinate variable using grid coordinates.
Derived data variable abstract class.
virtual int Initialize() override
virtual void compute(Grid *inGrid, float *output, int xd, int yd, int zd, size_t realNP) const override
DerivedParticleAverage(string varName, DC *dc, string meshName, DataMgr *dataMgr, string inputVar)
virtual bool VariableExists(size_t ts, int reflevel, int lod) const override
virtual std::vector< string > GetInputs() const override
virtual bool GetDataVarInfo(DC::DataVar &cvar) const override
virtual int OpenVariableRead(size_t ts, int level=0, int lod=0) override
virtual bool GetBaseVarInfo(DC::BaseVar &var) const override
virtual int GetDimLensAtLevel(int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level) const override
virtual int ReadRegion(int fd, const std::vector< size_t > &min, const std::vector< size_t > &max, float *region) override
virtual void compute(Grid *inGrid, float *output, int xd, int yd, int zd, size_t realNP) const
virtual int CloseVariable(int fd) override
virtual int Initialize() override
DerivedParticleDensity(string varName, DC *dc, string meshName, DataMgr *dataMgr)
Abstract base class for a 2D or 3D structured or unstructured grid.