CG  Version 25
ProjectVelocity.h
Go to the documentation of this file.
1 #ifndef PROJECT_VELOCITY_H
2 #define PROJECT_VELOCITY_H
3 
4 #include "Overture.h"
5 class GenericCompositeGridOperators;
6 class Oges;
7 
9 {
10  public:
11 
12 
15 
16 
17  real computeDivergence(const realCompositeGridFunction & u,
18  realCompositeGridFunction & divergence );
19 
20  real computeDivergence(const realCompositeGridFunction & u,
21  realCompositeGridFunction & divergence,
22  real & divl2Norm );
23 
24  void smoothVelocity(realCompositeGridFunction & u,
25  const int numberOfSmooths );
26 
27  int projectVelocity(realCompositeGridFunction & u,
28  GenericCompositeGridOperators & op );
29 
30  int setCompare3Dto2D( int value );
31  int setIsAxisymmetric( bool trueOrFalse=TRUE );
35  int setDebug(int number );
36  int setConvergenceTolerance(real value);
37  int setVelocityComponent(int uc);
39 
40  protected:
41 
42  int uc;
47  int debug;
51 
52 };
53 
54 
55 #endif