15 #ifndef vtkNek5000Reader_h
16 #define vtkNek5000Reader_h
18 #include "vtkIOParallelModule.h"
21 VTK_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);
53 int GetNumberOfPointArrays();
59 const char* GetPointArrayName(
int index);
63 vtkSetMacro(CleanGrid,
int);
64 vtkGetMacro(CleanGrid,
int);
65 vtkBooleanMacro(CleanGrid,
int);
71 vtkSetMacro(SpectralElementIds,
int);
72 vtkGetMacro(SpectralElementIds,
int);
73 vtkBooleanMacro(SpectralElementIds,
int);
80 bool GetPointArrayStatus(
const char*
name);
81 bool GetPointArrayStatus(
int index);
82 void SetPointArrayStatus(
const char*
name,
int status);
89 void DisableAllPointArrays();
90 void EnableAllPointArrays();
96 size_t GetVariableNamesFromData(
char* varTags);
98 int CanReadFile(
const char* fname);
143 void updateVariableStatus();
144 void partitionAndReadMesh();
145 void readData(
char* dfName);
148 void addCellsToContinuumMesh();
149 void addSpectralElementId(
int nelements);
159 bool isObjectMissingData();
161 bool objectMatchesRequest();
163 bool objectHasExtraData();
191 int TimeStepRange[2];
215 int SpectralElementIds;
219 VTK_ABI_NAMESPACE_END
std::string datafile_format
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
vtkDataArraySelection * PointDataArraySelection
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Reads Nek5000 format data files.
std::vector< double > TimeSteps
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Store on/off settings for data arrays, etc.
dataset represents arbitrary combinations of all possible cell types
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce only unstructured grid as output.
represent and manipulate 3D points
vtkUnstructuredGrid * UGrid