VTK
vtkLagrangianMatidaIntegrationModel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLagrangianMatidaIntegrationModel.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 =========================================================================*/
39 #ifndef vtkLagrangianMatidaIntegrationModel_h
40 #define vtkLagrangianMatidaIntegrationModel_h
41 
42 #include "vtkFiltersFlowPathsModule.h" // For export macro
44 
45 class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianMatidaIntegrationModel :
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
53  // Needed for multiple signatures polymorphism
55 
60  int FunctionValues(vtkDataSet* dataSet, vtkIdType cellId,
61  double* weights, double* x, double* f) override;
62 
63 protected:
66 
67  static double GetRelaxationTime(double dynVisc, double diameter, double density);
68 
69  static double GetDragCoefficient(const double* flowVelocity,
70  const double* particleVelocity,
71  double dynVisc, double particleDiameter,
72  double flowDensity);
73 
74 private:
76  void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
77 };
78 
79 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
int vtkIdType
Definition: vtkType.h:347
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkFunctionSet abstract implementation to be used in the vtkLagrangianParticleTracker integrator...
int FunctionValues(double *x, double *f) override
Evaluate integration model velocity f at position x.
vtkLagrangianBasicIntegrationModel implementation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...