VTK
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(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,
70  const double* particleVelocity,
71  double dynVisc, double particleDiameter,
72  double flowDensity);
73 
74 private:
76  void operator=(const vtkLagrangianMatidaIntegrationModel&) = delete;
77 };
78 
79 #endif
vtkLagrangianBasicIntegrationModel
vtkFunctionSet abstract implementation to be used in the vtkLagrangianParticleTracker integrator.
Definition: vtkLagrangianBasicIntegrationModel.h:87
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkLagrangianMatidaIntegrationModel::vtkLagrangianMatidaIntegrationModel
vtkLagrangianMatidaIntegrationModel()
vtkFunctionSet::FunctionValues
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
vtkLagrangianMatidaIntegrationModel::GetDragCoefficient
static double GetDragCoefficient(const double *flowVelocity, const double *particleVelocity, double dynVisc, double particleDiameter, double flowDensity)
vtkLagrangianMatidaIntegrationModel
Definition: vtkLagrangianMatidaIntegrationModel.h:47
vtkLagrangianMatidaIntegrationModel::FunctionValues
int FunctionValues(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...
vtkLagrangianMatidaIntegrationModel::New
static vtkLagrangianMatidaIntegrationModel * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkLagrangianBasicIntegrationModel.h
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkLagrangianMatidaIntegrationModel::~vtkLagrangianMatidaIntegrationModel
~vtkLagrangianMatidaIntegrationModel() override
vtkLagrangianMatidaIntegrationModel::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLagrangianMatidaIntegrationModel::GetRelaxationTime
static double GetRelaxationTime(double dynVisc, double diameter, double density)