VTK  9.3.1
vtkLagrangianMatidaIntegrationModel.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkLagrangianMatidaIntegrationModel_h
28 #define vtkLagrangianMatidaIntegrationModel_h
29 
30 #include "vtkFiltersFlowPathsModule.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianMatidaIntegrationModel
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
42  // Needed for multiple signatures polymorphism
44 
49  int FunctionValues(vtkLagrangianParticle* particle, vtkDataSet* dataSet, vtkIdType cellId,
50  double* weights, double* x, double* f) override;
51 
52 protected:
55 
56  static double GetRelaxationTime(double dynVisc, double diameter, double density);
57 
58  static double GetDragCoefficient(const double* flowVelocity, const double* particleVelocity,
59  double dynVisc, double particleDiameter, double flowDensity);
60 
61 private:
63  void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #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:52
int vtkIdType
Definition: vtkType.h:315
a simple class to control print indentation
Definition: vtkIndent.h:28
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...