15#ifndef vtkNek5000Reader_h
16#define vtkNek5000Reader_h
18#include "vtkIOParallelModule.h"
21VTK_ABI_NAMESPACE_BEGIN
35 vtkSetStringMacro(FileName);
36 vtkGetStringMacro(FileName);
38 vtkSetStringMacro(DataFileName);
39 vtkGetStringMacro(DataFileName);
41 vtkGetMacro(NumberOfTimeSteps,
int);
46 vtkGetVector2Macro(TimeStepRange,
int);
47 vtkSetVector2Macro(TimeStepRange,
int);
63 vtkSetMacro(CleanGrid,
int);
64 vtkGetMacro(CleanGrid,
int);
65 vtkBooleanMacro(CleanGrid,
int);
71 vtkSetMacro(SpectralElementIds,
int);
72 vtkGetMacro(SpectralElementIds,
int);
73 vtkBooleanMacro(SpectralElementIds,
int);
191 int TimeStepRange[2];
215 int SpectralElementIds;
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Reads Nek5000 format data files.
std::vector< double > TimeSteps
void copyContinuumPoints(vtkPoints *points)
void updateVariableStatus()
static vtkNek5000Reader * New()
void updateVtuData(vtkUnstructuredGrid *pv_ugrid)
void SetPointArrayStatus(const char *name, int status)
Get/Set whether the point array with the given name or index is to be read.
vtkUnstructuredGrid * UGrid
void DisableAllPointArrays()
Turn on/off all point arrays.
bool GetAllTimesAndVariableNames(vtkInformationVector *)
int CanReadFile(const char *fname)
void addCellsToContinuumMesh()
bool objectMatchesRequest()
bool isObjectMissingData()
vtkMTimeType GetMTime() override
Return this object's modified time.
vtkDataArraySelection * PointDataArraySelection
const char * GetPointArrayName(int index)
Get the name of the point array with the given index in the input.
void addSpectralElementId(int nelements)
size_t GetVariableNamesFromData(char *varTags)
Get the names of variables stored in the data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool objectHasExtraData()
std::string datafile_format
bool GetPointArrayStatus(const char *name)
Get/Set whether the point array with the given name or index is to be read.
void partitionAndReadMesh()
void copyContinuumData(vtkUnstructuredGrid *pv_ugrid)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int GetNumberOfPointArrays()
Get the number of point arrays available in the input.
void EnableAllPointArrays()
Turn on/off all point arrays.
~vtkNek5000Reader() override
void readData(char *dfName)
bool GetPointArrayStatus(int index)
Get/Set whether the point array with the given name or index is to be read.
represent and manipulate 3D points
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType