VTK  9.1.0
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=========================================================================*/
36#ifndef vtkLagrangianMatidaIntegrationModel_h
37#define vtkLagrangianMatidaIntegrationModel_h
38
39#include "vtkFiltersFlowPathsModule.h" // For export macro
41
42class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianMatidaIntegrationModel
44{
45public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
49
50 // Needed for multiple signatures polymorphism
51 using Superclass::FunctionValues;
52
58 double* weights, double* x, double* f) override;
59
60protected:
63
64 static double GetRelaxationTime(double dynVisc, double diameter, double density);
65
66 static double GetDragCoefficient(const double* flowVelocity, const double* particleVelocity,
67 double dynVisc, double particleDiameter, double flowDensity);
68
69private:
71 void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
72};
73
74#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkFunctionSet abstract implementation to be used in the vtkLagrangianParticleTracker integrator.
vtkLagrangianBasicIntegrationModel implementation
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