VTK  9.1.0
vtkMultiBlockPLOT3DReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMultiBlockPLOT3DReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
196 #ifndef vtkMultiBlockPLOT3DReader_h
197 #define vtkMultiBlockPLOT3DReader_h
198 
199 #include "vtkIOParallelModule.h" // For export macro
200 #include "vtkParallelReader.h"
201 #include <vector> // For holding function-names
202 
203 class vtkDataArray;
205 class vtkIntArray;
208 class vtkStructuredGrid;
212 
213 namespace Functors
214 {
215 class ComputeFunctor;
216 class ComputeTemperatureFunctor;
217 class ComputePressureFunctor;
218 class ComputePressureCoefficientFunctor;
219 class ComputeMachNumberFunctor;
220 class ComputeSoundSpeedFunctor;
221 class ComputeEnthalpyFunctor;
222 class ComputeKinecticEnergyFunctor;
223 class ComputeVelocityMagnitudeFunctor;
224 class ComputeEntropyFunctor;
225 class ComputeSwirlFunctor;
226 class ComputeVelocityFunctor;
227 class ComputeVorticityMagnitudeFunctor;
228 class ComputePressureGradientFunctor;
229 class ComputeVorticityFunctor;
230 class ComputeStrainRateFunctor;
231 }
232 
233 class VTKIOPARALLEL_EXPORT vtkMultiBlockPLOT3DReader : public vtkParallelReader
234 {
235  friend class Functors::ComputeFunctor;
236  friend class Functors::ComputeTemperatureFunctor;
237  friend class Functors::ComputePressureFunctor;
238  friend class Functors::ComputePressureCoefficientFunctor;
239  friend class Functors::ComputeMachNumberFunctor;
240  friend class Functors::ComputeSoundSpeedFunctor;
241  friend class Functors::ComputeEnthalpyFunctor;
242  friend class Functors::ComputeKinecticEnergyFunctor;
243  friend class Functors::ComputeVelocityMagnitudeFunctor;
244  friend class Functors::ComputeEntropyFunctor;
245  friend class Functors::ComputeSwirlFunctor;
246  friend class Functors::ComputeVelocityFunctor;
247  friend class Functors::ComputeVorticityMagnitudeFunctor;
248  friend class Functors::ComputePressureGradientFunctor;
249  friend class Functors::ComputeVorticityFunctor;
250  friend class Functors::ComputeStrainRateFunctor;
251 
252 public:
255  void PrintSelf(ostream& os, vtkIndent indent) override;
256 
258 
264 
266 
269  void SetFileName(VTK_FILEPATH const char* name) { this->SetXYZFileName(name); }
270  VTK_FILEPATH const char* GetFileName() { return this->GetXYZFileName(); }
271  VTK_FILEPATH const char* GetFileName(int i) { return this->vtkParallelReader::GetFileName(i); }
272  virtual void SetXYZFileName(VTK_FILEPATH const char*);
273  vtkGetFilePathMacro(XYZFileName);
275 
277 
287  void SetQFileName(VTK_FILEPATH const char* name);
288  VTK_FILEPATH const char* GetQFileName();
290 
292 
295  vtkSetFilePathMacro(FunctionFileName);
296  vtkGetFilePathMacro(FunctionFileName);
298 
300 
310  vtkSetMacro(AutoDetectFormat, vtkTypeBool);
311  vtkGetMacro(AutoDetectFormat, vtkTypeBool);
312  vtkBooleanMacro(AutoDetectFormat, vtkTypeBool);
314 
316 
320  vtkSetMacro(BinaryFile, vtkTypeBool);
321  vtkGetMacro(BinaryFile, vtkTypeBool);
322  vtkBooleanMacro(BinaryFile, vtkTypeBool);
324 
326 
332  vtkSetMacro(MultiGrid, vtkTypeBool);
333  vtkGetMacro(MultiGrid, vtkTypeBool);
334  vtkBooleanMacro(MultiGrid, vtkTypeBool);
336 
338 
343  vtkSetMacro(HasByteCount, vtkTypeBool);
344  vtkGetMacro(HasByteCount, vtkTypeBool);
345  vtkBooleanMacro(HasByteCount, vtkTypeBool);
347 
349 
354  vtkSetMacro(IBlanking, vtkTypeBool);
355  vtkGetMacro(IBlanking, vtkTypeBool);
356  vtkBooleanMacro(IBlanking, vtkTypeBool);
358 
360 
364  vtkSetMacro(TwoDimensionalGeometry, vtkTypeBool);
365  vtkGetMacro(TwoDimensionalGeometry, vtkTypeBool);
366  vtkBooleanMacro(TwoDimensionalGeometry, vtkTypeBool);
368 
370 
375  vtkSetMacro(DoublePrecision, vtkTypeBool);
376  vtkGetMacro(DoublePrecision, vtkTypeBool);
377  vtkBooleanMacro(DoublePrecision, vtkTypeBool);
379 
381 
387  vtkSetMacro(ForceRead, vtkTypeBool);
388  vtkGetMacro(ForceRead, vtkTypeBool);
389  vtkBooleanMacro(ForceRead, vtkTypeBool);
391 
393 
401  vtkSetMacro(ByteOrder, int);
402  vtkGetMacro(ByteOrder, int);
403  const char* GetByteOrderAsString();
405 
407 
410  vtkSetMacro(R, double);
411  vtkGetMacro(R, double);
413 
415 
418  vtkSetMacro(Gamma, double);
419  vtkGetMacro(Gamma, double);
421 
423 
431  vtkSetMacro(PreserveIntermediateFunctions, bool);
432  vtkGetMacro(PreserveIntermediateFunctions, bool);
433  vtkBooleanMacro(PreserveIntermediateFunctions, bool);
434 
436 
440  void SetScalarFunctionNumber(int num);
441  vtkGetMacro(ScalarFunctionNumber, int);
443 
445 
449  void SetVectorFunctionNumber(int num);
450  vtkGetMacro(VectorFunctionNumber, int);
452 
454 
459  void AddFunction(int functionNumber);
460  void RemoveFunction(int);
463 
468  virtual int CanReadBinaryFile(VTK_FILEPATH const char* fname);
469 
471 
476  vtkGetObjectMacro(Controller, vtkMultiProcessController);
478 
479  void AddFunctionName(const std::string& name) { FunctionNames.push_back(name); }
480 
481  enum
482  {
483  FILE_BIG_ENDIAN = 0,
484  FILE_LITTLE_ENDIAN = 1
485  };
486 
488 
494  int ReadMetaData(vtkInformation* metadata) override;
495  int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject* output) override;
496  int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject* output) override;
497  int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject* output) override;
499 
500 protected:
503 
505 
508  double GetTimeValue(const std::string& fname) override;
509  int ReadMesh(
510  const std::string& fname, int piece, int npieces, int nghosts, vtkDataObject* output) override;
512  const std::string& fname, int piece, int npieces, int nghosts, vtkDataObject* output) override;
514  const std::string& fname, int piece, int npieces, int nghosts, vtkDataObject* output) override;
516 
518 
519  int CheckFile(FILE*& fp, const char* fname);
520  int CheckGeometryFile(FILE*& xyzFp);
521  int CheckFunctionFile(FILE*& fFp);
522 
524  int SkipByteCount(FILE* fp);
525  int ReadIntBlock(FILE* fp, int n, int* block);
526 
527  vtkIdType ReadValues(FILE* fp, int n, vtkDataArray* scalar);
528  virtual int ReadIntScalar(void* vfp, int extent[6], int wextent[6], vtkDataArray* scalar,
529  vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord& currentRecord);
530  virtual int ReadScalar(void* vfp, int extent[6], int wextent[6], vtkDataArray* scalar,
531  vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord& currentRecord);
532  virtual int ReadVector(void* vfp, int extent[6], int wextent[6], int numDims,
533  vtkDataArray* vector, vtkTypeUInt64 offset,
534  const vtkMultiBlockPLOT3DReaderRecord& currentRecord);
535  virtual int OpenFileForDataRead(void*& fp, const char* fname);
536  virtual void CloseFile(void* fp);
537 
538  int GetNumberOfBlocksInternal(FILE* xyzFp, int allocate);
539 
540  int ReadGeometryHeader(FILE* fp);
541  int ReadQHeader(FILE* fp, bool checkGrid, int& nq, int& nqc, int& overflow);
542  int ReadFunctionHeader(FILE* fp, int* nFunctions);
543 
544  void CalculateFileSize(FILE* fp);
545 
546  int AutoDetectionCheck(FILE* fp);
547 
548  void AssignAttribute(int fNumber, vtkStructuredGrid* output, int attributeType);
549  void MapFunction(int fNumber, vtkStructuredGrid* output);
550 
552 
572 
573  // Returns a vtkFloatArray or a vtkDoubleArray depending
574  // on DoublePrecision setting
576 
577  // Delete references to any existing vtkPoints and
578  // I-blank arrays. The next Update() will (re)read
579  // the XYZ file.
581 
582  double GetGamma(vtkIdType idx, vtkDataArray* gamma);
583 
585 
586  // plot3d FileNames
587  char* XYZFileName;
588  char* QFileName;
599 
601 
602  size_t FileSize;
603 
604  // parameters used in computing derived functions
605  double R;
606  double Gamma;
607  double GammaInf;
608 
610 
611  // named functions from meta data
612  std::vector<std::string> FunctionNames;
613 
614  // functions to read that are not scalars or vectors
616 
619 
621 
623 
624 private:
626  void operator=(const vtkMultiBlockPLOT3DReader&) = delete;
627 
628  // Key used to flag intermediate results.
629  static vtkInformationIntegerKey* INTERMEDIATE_RESULT();
630 
634  void RemoveIntermediateFunctions(vtkDataSetAttributes* dsa);
635 };
636 
637 #endif
vtkMultiBlockPLOT3DReader::NewFloatArray
vtkDataArray * NewFloatArray()
vtkParallelReader.h
vtkX3D::vector
@ vector
Definition: vtkX3D.h:243
vtkMultiBlockPLOT3DReader::ReadMesh
int ReadMesh(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output) override
Overridden from superclass to do actual reading.
Functors
Definition: vtkMultiBlockPLOT3DReader.h:214
vtkMultiBlockPLOT3DReader::ReadMesh
int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
These methods have to be overwritten from superclass because Plot3D actually uses the XYZ file to rea...
vtkMultiBlockPLOT3DReader::SetQFileName
void SetQFileName(VTK_FILEPATH const char *name)
Set/Get the PLOT3D solution filename.
vtkMultiBlockPLOT3DReader::XYZFileName
char * XYZFileName
Definition: vtkMultiBlockPLOT3DReader.h:587
vtkMultiBlockPLOT3DReader::OpenFileForDataRead
virtual int OpenFileForDataRead(void *&fp, const char *fname)
vtkMultiBlockPLOT3DReader::ComputeTemperature
vtkDataArray * ComputeTemperature(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
VTK_FILEPATH
#define VTK_FILEPATH
Definition: vtkWrappingHints.h:46
vtkIdType
int vtkIdType
Definition: vtkType.h:332
vtkMultiBlockPLOT3DReader::ComputePressureGradient
vtkDataArray * ComputePressureGradient(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::AssignAttribute
void AssignAttribute(int fNumber, vtkStructuredGrid *output, int attributeType)
vtkMultiBlockPLOT3DReader::VectorFunctionNumber
int VectorFunctionNumber
Definition: vtkMultiBlockPLOT3DReader.h:618
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:170
vtkMultiBlockPLOT3DReader::FunctionNames
std::vector< std::string > FunctionNames
Definition: vtkMultiBlockPLOT3DReader.h:612
vtkMultiBlockPLOT3DReader::AutoDetectFormat
vtkTypeBool AutoDetectFormat
Definition: vtkMultiBlockPLOT3DReader.h:598
vtkMultiBlockPLOT3DReader::GetOutput
vtkMultiBlockDataSet * GetOutput()
Get the output data object for a port on this algorithm.
vtkMultiBlockPLOT3DReader::ComputeStrainRate
vtkDataArray * ComputeStrainRate(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::AutoDetectionCheck
int AutoDetectionCheck(FILE *fp)
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:145
vtkMultiBlockPLOT3DReader::vtkGetFilePathMacro
vtkGetFilePathMacro(XYZFileName)
Set/Get the PLOT3D geometry filename.
vtkMultiBlockPLOT3DReader::ReadPoints
int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
These methods have to be overwritten from superclass because Plot3D actually uses the XYZ file to rea...
vtkMultiBlockPLOT3DReader::CreateFloatArray
vtkDataArray * CreateFloatArray()
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:167
vtkMultiBlockPLOT3DReader::SetByteOrderToLittleEndian
void SetByteOrderToLittleEndian()
Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write l...
vtkMultiBlockPLOT3DReader::GetOutput
vtkMultiBlockDataSet * GetOutput(int)
Get the output data object for a port on this algorithm.
vtkMultiBlockPLOT3DReader::New
static vtkMultiBlockPLOT3DReader * New()
vtkMultiBlockPLOT3DReader::ReadMetaData
int ReadMetaData(vtkInformation *metadata) override
These methods have to be overwritten from superclass because Plot3D actually uses the XYZ file to rea...
vtkMultiBlockPLOT3DReader::vtkGetFilePathMacro
vtkGetFilePathMacro(FunctionFileName)
Set/Get the PLOT3D function filename.
vtkMultiBlockPLOT3DReader
read PLOT3D data files
Definition: vtkMultiBlockPLOT3DReader.h:234
vtkMultiBlockPLOT3DReader::MapFunction
void MapFunction(int fNumber, vtkStructuredGrid *output)
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
vtkMultiBlockPLOT3DReader::ReadPoints
int ReadPoints(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output) override
Overridden from superclass to do actual reading.
vtkMultiBlockPLOT3DReader::PreserveIntermediateFunctions
bool PreserveIntermediateFunctions
Definition: vtkMultiBlockPLOT3DReader.h:609
vtkMultiBlockPLOT3DReader::R
double R
Definition: vtkMultiBlockPLOT3DReader.h:605
vtkMultiBlockPLOT3DReader::ExecutedGhostLevels
int ExecutedGhostLevels
Definition: vtkMultiBlockPLOT3DReader.h:600
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:155
vtkMultiBlockPLOT3DReader::GetQFileName
VTK_FILEPATH const char * GetQFileName()
Set/Get the PLOT3D solution filename.
vtkMultiBlockPLOT3DReader::ComputeSwirl
vtkDataArray * ComputeSwirl(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::ReadIntScalar
virtual int ReadIntScalar(void *vfp, int extent[6], int wextent[6], vtkDataArray *scalar, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
vtkMultiBlockPLOT3DReader::ReadScalar
virtual int ReadScalar(void *vfp, int extent[6], int wextent[6], vtkDataArray *scalar, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
vtkMultiBlockPLOT3DReader::ReadQHeader
int ReadQHeader(FILE *fp, bool checkGrid, int &nq, int &nqc, int &overflow)
vtkMultiBlockPLOT3DReader::~vtkMultiBlockPLOT3DReader
~vtkMultiBlockPLOT3DReader() override
vtkMultiBlockPLOT3DReader::ComputeKineticEnergy
vtkDataArray * ComputeKineticEnergy(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::ComputeEnthalpy
vtkDataArray * ComputeEnthalpy(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::CanReadBinaryFile
virtual int CanReadBinaryFile(VTK_FILEPATH const char *fname)
Return 1 if the reader can read the given file name.
vtkMultiBlockPLOT3DReader::ReadValues
vtkIdType ReadValues(FILE *fp, int n, vtkDataArray *scalar)
vtkMultiBlockPLOT3DReader::CheckFunctionFile
int CheckFunctionFile(FILE *&fFp)
vtkMultiBlockPLOT3DReader::ForceRead
vtkTypeBool ForceRead
Definition: vtkMultiBlockPLOT3DReader.h:594
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkMultiBlockPLOT3DReader::ClearGeometryCache
void ClearGeometryCache()
vtkMultiBlockPLOT3DReader::Controller
vtkMultiProcessController * Controller
Definition: vtkMultiBlockPLOT3DReader.h:622
vtkMultiBlockPLOT3DReader::IBlanking
vtkTypeBool IBlanking
Definition: vtkMultiBlockPLOT3DReader.h:596
vtkMultiBlockPLOT3DReader::ComputeMachNumber
vtkDataArray * ComputeMachNumber(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::AddFunctionName
void AddFunctionName(const std::string &name)
Definition: vtkMultiBlockPLOT3DReader.h:479
vtkMultiBlockPLOT3DReaderInternals
Definition: vtkMultiBlockPLOT3DReaderInternals.h:40
vtkMultiBlockPLOT3DReader::ReadArrays
int ReadArrays(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output) override
Overridden from superclass to do actual reading.
vtkX3D::offset
@ offset
Definition: vtkX3D.h:444
vtkMultiBlockPLOT3DReader::GetFileName
VTK_FILEPATH const char * GetFileName(int i)
Set/Get the PLOT3D geometry filename.
Definition: vtkMultiBlockPLOT3DReader.h:271
vtkMultiBlockPLOT3DReader::ComputePressureCoefficient
vtkDataArray * ComputePressureCoefficient(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:77
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:32
vtkMultiBlockPLOT3DReader::SetVectorFunctionNumber
void SetVectorFunctionNumber(int num)
Specify the vector function to extract.
vtkMultiBlockPLOT3DReader::vtkSetFilePathMacro
vtkSetFilePathMacro(FunctionFileName)
Set/Get the PLOT3D function filename.
vtkMultiBlockPLOT3DReader::AddFunction
void AddFunction(int functionNumber)
Specify additional functions to read.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:149
vtkMultiBlockPLOT3DReader::ReadFunctionHeader
int ReadFunctionHeader(FILE *fp, int *nFunctions)
vtkMultiBlockPLOT3DReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiBlockPLOT3DReader::QFileName
char * QFileName
Definition: vtkMultiBlockPLOT3DReader.h:588
vtkMultiBlockPLOT3DReader::ComputeVelocityMagnitude
vtkDataArray * ComputeVelocityMagnitude(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::ScalarFunctionNumber
int ScalarFunctionNumber
Definition: vtkMultiBlockPLOT3DReader.h:617
vtkMultiBlockPLOT3DReader::SetScalarFunctionNumber
void SetScalarFunctionNumber(int num)
Specify the scalar function to extract.
vtkMultiBlockPLOT3DReader::HasByteCount
vtkTypeBool HasByteCount
Definition: vtkMultiBlockPLOT3DReader.h:591
vtkMultiBlockPLOT3DReader::CheckGeometryFile
int CheckGeometryFile(FILE *&xyzFp)
vtkMultiBlockPLOT3DReader::FileSize
size_t FileSize
Definition: vtkMultiBlockPLOT3DReader.h:602
vtkMultiBlockPLOT3DReader::ReadIntBlock
int ReadIntBlock(FILE *fp, int n, int *block)
vtkMultiBlockPLOT3DReader::GammaInf
double GammaInf
Definition: vtkMultiBlockPLOT3DReader.h:607
vtkMultiBlockPLOT3DReader::CloseFile
virtual void CloseFile(void *fp)
vtkMultiBlockPLOT3DReader::GetNumberOfBlocksInternal
int GetNumberOfBlocksInternal(FILE *xyzFp, int allocate)
vtkX3D::name
@ name
Definition: vtkX3D.h:225
vtkMultiBlockPLOT3DReader::CalculateFileSize
void CalculateFileSize(FILE *fp)
vtkMultiBlockPLOT3DReader::FunctionList
vtkIntArray * FunctionList
Definition: vtkMultiBlockPLOT3DReader.h:615
vtkMultiBlockPLOT3DReader::ReadArrays
int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
These methods have to be overwritten from superclass because Plot3D actually uses the XYZ file to rea...
vtkMultiBlockPLOT3DReader::MultiGrid
vtkTypeBool MultiGrid
Definition: vtkMultiBlockPLOT3DReader.h:593
vtkMultiBlockPLOT3DReader::CheckFile
int CheckFile(FILE *&fp, const char *fname)
vtkMultiBlockPLOT3DReader::ComputeSoundSpeed
vtkDataArray * ComputeSoundSpeed(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::GetTimeValue
double GetTimeValue(const std::string &fname) override
Overridden from superclass to do actual reading.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkMultiBlockPLOT3DReader::RemoveAllFunctions
void RemoveAllFunctions()
Specify additional functions to read.
vtkMultiBlockPLOT3DReader::FunctionFileName
char * FunctionFileName
Definition: vtkMultiBlockPLOT3DReader.h:589
vtkMultiBlockPLOT3DReader::SetFileName
void SetFileName(VTK_FILEPATH const char *name)
Set/Get the PLOT3D geometry filename.
Definition: vtkMultiBlockPLOT3DReader.h:269
vtkMultiBlockPLOT3DReader::SetController
void SetController(vtkMultiProcessController *c)
Set/Get the communicator object (we'll use global World controller if you don't set a different one).
vtkMultiBlockPLOT3DReader::GetGamma
double GetGamma(vtkIdType idx, vtkDataArray *gamma)
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkMultiBlockPLOT3DReader::GetFileName
VTK_FILEPATH const char * GetFileName()
Set/Get the PLOT3D geometry filename.
Definition: vtkMultiBlockPLOT3DReader.h:270
vtkMultiBlockPLOT3DReader::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkParallelReader
Superclass for algorithms that are parallel aware.
Definition: vtkParallelReader.h:37
vtkX3D::string
@ string
Definition: vtkX3D.h:496
vtkMultiBlockPLOT3DReader::ComputeVorticityMagnitude
vtkDataArray * ComputeVorticityMagnitude(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::DoublePrecision
vtkTypeBool DoublePrecision
Definition: vtkMultiBlockPLOT3DReader.h:597
vtkMultiBlockPLOT3DReader::ComputeEntropy
vtkDataArray * ComputeEntropy(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::RemoveFunction
void RemoveFunction(int)
Specify additional functions to read.
vtkMultiBlockPLOT3DReader::SkipByteCount
int SkipByteCount(FILE *fp)
vtkMultiBlockPLOT3DReader::SetByteOrderToBigEndian
void SetByteOrderToBigEndian()
Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write l...
vtkMultiBlockPLOT3DReader::SetXYZFileName
virtual void SetXYZFileName(VTK_FILEPATH const char *)
Set/Get the PLOT3D geometry filename.
vtkMultiBlockPLOT3DReader::vtkMultiBlockPLOT3DReader
vtkMultiBlockPLOT3DReader()
vtkMultiBlockPLOT3DReader::Gamma
double Gamma
Definition: vtkMultiBlockPLOT3DReader.h:606
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkMultiBlockPLOT3DReader::ReadGeometryHeader
int ReadGeometryHeader(FILE *fp)
vtkMultiBlockPLOT3DReader::BinaryFile
vtkTypeBool BinaryFile
Definition: vtkMultiBlockPLOT3DReader.h:590
vtkMultiBlockPLOT3DReader::ByteOrder
int ByteOrder
Definition: vtkMultiBlockPLOT3DReader.h:595
vtkMultiBlockPLOT3DReader::ComputeVorticity
vtkDataArray * ComputeVorticity(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::Internal
vtkMultiBlockPLOT3DReaderInternals * Internal
Definition: vtkMultiBlockPLOT3DReader.h:620
vtkMultiBlockPLOT3DReader::GetByteOrderAsString
const char * GetByteOrderAsString()
Set the byte order of the file (remember, more Unix workstations write big endian whereas PCs write l...
vtkMultiBlockPLOT3DReader::ReadVector
virtual int ReadVector(void *vfp, int extent[6], int wextent[6], int numDims, vtkDataArray *vector, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord &currentRecord)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkParallelReader::GetFileName
VTK_FILEPATH const char * GetFileName(int i) const
Returns a particular filename stored by the reader.
vtkMultiBlockPLOT3DReaderRecord
Definition: vtkMultiBlockPLOT3DReaderInternals.h:120
vtkMultiBlockPLOT3DReader::ComputeVelocity
vtkDataArray * ComputeVelocity(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkMultiBlockPLOT3DReader::TwoDimensionalGeometry
vtkTypeBool TwoDimensionalGeometry
Definition: vtkMultiBlockPLOT3DReader.h:592
vtkMultiBlockPLOT3DReader::ComputePressure
vtkDataArray * ComputePressure(vtkStructuredGrid *output)
Each of these methods compute a derived quantity.
vtkMultiBlockPLOT3DReader::GetByteCountSize
int GetByteCountSize()