VTK  9.3.0
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
33VTK_ABI_NAMESPACE_BEGIN
34class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianMatidaIntegrationModel
36{
37public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
41
42 // Needed for multiple signatures polymorphism
43 using Superclass::FunctionValues;
44
50 double* weights, double* x, double* f) override;
51
52protected:
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
61private:
63 void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:53
a simple class to control print indentation
Definition vtkIndent.h:29
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:315