26 #ifndef __vtkWindBladeReader_h
27 #define __vtkWindBladeReader_h
45 class vtkWindBladeReaderPiece;
55 class vtkMultiBlockDataSetAglorithm;
65 vtkSetStringMacro(Filename);
66 vtkGetStringMacro(Filename);
68 vtkSetVector6Macro(WholeExtent,
int);
69 vtkGetVector6Macro(WholeExtent,
int);
71 vtkSetVector6Macro(SubExtent,
int);
72 vtkGetVector6Macro(SubExtent,
int);
85 int GetNumberOfPointArrays();
86 const char* GetPointArrayName(
int index);
89 int GetPointArrayStatus(
const char*
name);
90 void SetPointArrayStatus(
const char*
name,
int status);
92 void DisableAllPointArrays();
93 void EnableAllPointArrays();
188 void ReadGlobalData();
189 void ReadDataVariables(ifstream& inStr);
190 void FindVariableOffsets();
193 void SetupBladeData();
194 void LoadBladeData(
int timeStep);
197 void FillCoordinates();
198 void FillGroundCoordinates();
199 void CreateCoordinates();
200 void CreateZTopography(
float* zdata);
201 float GDeform(
float sigma,
float sigmaMax,
int flag);
202 void spline(
float* x,
float* y,
int n,
float yp1,
float ypn,
float* y2);
203 void splint(
float* xa,
float* ya,
float* y2a,
int n,
float x,
float* y,
int);
206 void LoadVariableData(
int var);
209 void DivideByDensity(
const char*
name);
212 void CalculateVorticity(
int vort,
int uvw,
int density);
213 void CalculatePressure(
int pres,
int prespre,
int tempg,
int density);
225 static void SelectionCallback(
231 static void EventCallback(
234 void* clientdata,
void* calldata);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Wrapper around vtkstd::string to keep symbols short.
abstract base class for most VTK objects
int NumberOfDerivedVariables
vtkStdString TopographyFile
dynamic, self-adjusting array of float
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
a vtkAbstractArray subclass for strings
vtkStdString RootDirectory
vtkFloatArray * HubHeight
long int * VariableOffset
static vtkStructuredGridAlgorithm * New()
int NumberOfFileVariables
dynamic, self-adjusting array of int
supports function callbacks
vtkFloatArray * XPosition
vtkStdString * VariableName
a simple class to control print indentation
const float DRY_AIR_CONSTANT
vtkStdString TurbineBladeName
vtkStdString DataBaseName
Store on/off settings for data arrays for a vtkSource.
Superclass for algorithms that produce only structured grid as output.
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
vtkStringArray * DivideVariables
float * zTopographicValues
vtkStdString TurbineTowerName
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkFloatArray * YPosition
vtkDataArraySelection * PointDataArraySelection
topologically regular array of data
vtkMultiProcessController * MPIController
vtkStdString DataDirectory
vtkStdString TurbineDirectory
vtkCallbackCommand * SelectionObserver
class for reading WindBlade data files
represent and manipulate 3D points
Multiprocessing communication superclass.