VMTK
vtkvmtkMeshWallShearRate.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkMeshWallShearRate.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkMeshWallShearRate_h
29 #define __vtkvmtkMeshWallShearRate_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 #include "vtkvmtkWin32Header.h"
33 
34 class VTK_VMTK_MISC_EXPORT vtkvmtkMeshWallShearRate : public vtkPolyDataAlgorithm
35 {
36  public:
37  vtkTypeMacro(vtkvmtkMeshWallShearRate,vtkPolyDataAlgorithm);
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
40  static vtkvmtkMeshWallShearRate *New();
41 
42  vtkSetStringMacro(VelocityArrayName);
43  vtkGetStringMacro(VelocityArrayName);
44 
45  vtkSetStringMacro(WallShearRateArrayName);
46  vtkGetStringMacro(WallShearRateArrayName);
47 
48  vtkSetMacro(ComputeIndividualPartialDerivatives,int);
49  vtkGetMacro(ComputeIndividualPartialDerivatives,int);
50  vtkBooleanMacro(ComputeIndividualPartialDerivatives,int);
51 
52  vtkSetMacro(ConvergenceTolerance,double);
53  vtkGetMacro(ConvergenceTolerance,double);
54 
55  vtkSetMacro(QuadratureOrder,int);
56  vtkGetMacro(QuadratureOrder,int);
57 
58  protected:
61 
62  int FillInputPortInformation(int, vtkInformation *info) VTK_OVERRIDE;
63  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
64 
67 
69 
72 
73  private:
74  vtkvmtkMeshWallShearRate(const vtkvmtkMeshWallShearRate&); // Not implemented.
75  void operator=(const vtkvmtkMeshWallShearRate&); // Not implemented.
76 };
77 
78 #endif
calculates wall shear rate from velocity components in a mesh