VTK  9.2.6
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(vtkLagrangianParticle* particle, 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, const double* particleVelocity,
70  double dynVisc, double particleDiameter, double flowDensity);
71 
72 private:
74  void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
75 };
76 
77 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FunctionValues(double *x, double *f, void *userData) override
Evaluate integration model velocity f at position x.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
int vtkIdType
Definition: vtkType.h:332
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkFunctionSet abstract implementation to be used in the vtkLagrangianParticleTracker integrator...
vtkLagrangianBasicIntegrationModel implementation
Basis class for Lagrangian particles.
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...