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=========================================================================*/
38
39#ifndef vtkLagrangianMatidaIntegrationModel_h
40#define vtkLagrangianMatidaIntegrationModel_h
41
42#include "vtkFiltersFlowPathsModule.h" // For export macro
44
45class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianMatidaIntegrationModel
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
52
53 // Needed for multiple signatures polymorphism
55
61 double* weights, double* x, double* f) override;
62
63protected:
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
72private:
74 void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
75};
76
77#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
a simple class to control print indentation
Definition vtkIndent.h:40
int FunctionValues(double *x, double *f, void *userData) override
Evaluate integration model velocity f at position x.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FunctionValues(vtkLagrangianParticle *particle, vtkDataSet *dataSet, vtkIdType cellId, double *weights, double *x, double *f) override
Evaluate the integration model velocity field f at position x, using data from cell in dataSet with i...
static vtkLagrangianMatidaIntegrationModel * New()
static double GetRelaxationTime(double dynVisc, double diameter, double density)
static double GetDragCoefficient(const double *flowVelocity, const double *particleVelocity, double dynVisc, double particleDiameter, double flowDensity)
Basis class for Lagrangian particles.
int vtkIdType
Definition vtkType.h:332