MDAL
|
Public Member Functions | |
DatasetSelafin (DatasetGroup *parent, std::shared_ptr< SelafinFile > reader, size_t timeStepIndex) | |
Contructs a dataset with a SelafinFile object and the index of the time step. More... | |
size_t | scalarData (size_t indexStart, size_t count, double *buffer) override |
For DataOnVertices or DataOnFaces. | |
size_t | vectorData (size_t indexStart, size_t count, double *buffer) override |
For DataOnVertices or DataOnFaces. | |
void | setXVariableIndex (size_t index) |
Sets the position of the X array in the stream. | |
void | setYVariableIndex (size_t index) |
Sets the position of the Y array in the stream. | |
![]() | |
Dataset2D (DatasetGroup *parent) | |
size_t | verticalLevelCountData (size_t indexStart, size_t count, int *buffer) override |
For DataOnVolumes. | |
size_t | verticalLevelData (size_t indexStart, size_t count, double *buffer) override |
For DataOnVolumes. | |
size_t | faceToVolumeData (size_t indexStart, size_t count, int *buffer) override |
For DataOnVolumes. | |
size_t | scalarVolumesData (size_t indexStart, size_t count, double *buffer) override |
For DataOnVolumes. | |
size_t | vectorVolumesData (size_t indexStart, size_t count, double *buffer) override |
For DataOnVolumes. | |
size_t | volumesCount () const override |
size_t | maximumVerticalLevelsCount () const override |
![]() | |
Dataset (DatasetGroup *parent) | |
size_t | valuesCount () const |
virtual size_t | activeData (size_t indexStart, size_t count, int *buffer) |
For drivers that supports it, see supportsActiveFlag() | |
Statistics | statistics () const |
void | setStatistics (const Statistics &statistics) |
bool | isValid () const |
DatasetGroup * | group () const |
Mesh * | mesh () const |
double | time (RelativeTimestamp::Unit unit) const |
RelativeTimestamp | timestamp () const |
void | setTime (double time, RelativeTimestamp::Unit unit=RelativeTimestamp::hours) |
void | setTime (const RelativeTimestamp &time) |
bool | supportsActiveFlag () const |
void | setSupportsActiveFlag (bool value) |
MDAL::DatasetSelafin::DatasetSelafin | ( | DatasetGroup * | parent, |
std::shared_ptr< SelafinFile > | reader, | ||
size_t | timeStepIndex | ||
) |
Contructs a dataset with a SelafinFile object and the index of the time step.
Position of array(s) in the stream has to be set after construction (default = begin of the stream), see setXStreamPosition() and setYStreamPosition() (X for scalar dataset, X and Y for vector dataset)