CG  Version 25
FlowSolutions.h
Go to the documentation of this file.
1 #ifndef FLOW_SLOUTIONS_H
2 #define FLOW_SLOUTIONS_H
3 
4 #include "Overture.h"
5 
6 class PistonMotion;
7 
8 // =================================================================
9 // This class defines some known solutions for various "flows"
10 // =================================================================
11 
13 {
14 public:
15 
17  {
24  };
25 
26 
29 
30 int
31 getFlowSolution( const KnownSolutionsEnum knownSolution,
32  realCompositeGridFunction & ua, int *ipar, real *rpar );
33 
34 int
35 getFlowSolution( const KnownSolutionsEnum knownSolution,
36  CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
37  const Index & I1, const Index &I2, const Index &I3 );
38 
39 int
40 getFlowSolution( PistonMotion & pistonMotion,
41  CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
42  const Index & I1, const Index &I2, const Index &I3 );
43 
44 int
45 getDeformingDiffuser( const KnownSolutionsEnum knownSolution,
46  CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
47  const Index & I1, const Index &I2, const Index &I3 );
48 
49 
50 int
51 getObliqueShockFlow( const KnownSolutionsEnum knownSolution,
52  CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
53  const Index & I1, const Index &I2, const Index &I3 );
54 
55 int
56 getPistonFlow( const KnownSolutionsEnum knownSolution,
57  CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
58  const Index & I1, const Index &I2, const Index &I3 );
59 
60 int
62  CompositeGrid & cg, int grid, realArray & u, int *ipar, real *rpar,
63  const Index & I1, const Index &I2, const Index &I3 );
64 
65 int
66 getSupersonicExpandingFlow( realCompositeGridFunction & ua, int *ipar, real *rpar );
67 
68 int
69 getSupersonicExpandingFlow( CompositeGrid & cg, int grid, realArray & ua, int *ipar, real *rpar,
70  const Index & I1, const Index &I2, const Index &I3 );
71 
72 protected:
73 
74 // real rho0, p0, u0, v0, a0;
75 
76 realCompositeGridFunction *v;
77 RealArray *wallDataPointer;
78 
79 };
80 
81 #endif