ParMooN
 All Classes Functions Variables Friends Pages
ConvDiff.h
1 // ======================================================================
2 // @(#)ConvDiff.h 12/06/26
3 //
4 // common declaration for all convection diffusion problems
5 // ======================================================================
6 
7 #ifndef __CONVDIFF__
8 #define __CONVDIFF__
9 
10 /******************************************************************************/
11 // SetParametersCD
12 // sets parameters of the data base for the main programs
13 void SetParametersCD(int &nonlinear_method);
14 
15 double Mesh_size_in_convection_direction(double hK, double b1, double b2);
16 
17 double Mesh_size_in_convection_direction_without_storing(double hK, double b1,
18  double b2);
19 
20 
21 double Mesh_size_in_convection_direction(double hK, double b1, double b2,
22  double b3);
23 double Mesh_size_in_convection_direction_without_storing(double hK, double b1,
24  double b2, double b3);
25 
26 
27 
28 double Compute_SDFEM_delta(double hK, double eps, double b1, double b2,
29 #ifdef __3D__
30  double b3,
31 #endif
32  double react, double linfb);
33 
34 
35 
36 double Compute_SOLD_sigma(double hK, double eps, double b1, double b2,
37 #ifdef __3D__
38  double b3,
39 #endif
40  double c, double f, double linfb, double deltaK,
41  double *param, double residual, int residual_computed,
42  int time_dependent_problem);
43 
46 double EstimateCoercivityConstant(TCollection *Coll,
47 #ifdef __2D__
48  CoeffFct2D *Coeff
49 #else // 3D
50  CoeffFct3D *Coeff
51 #endif
52  );
53 
55 void SetSoldParameters(int i);
56 
57 
58 #ifdef __2D__
59 void EdgeStabilization(TFESpace2D *fespace, TFEFunction2D *u,
60  CoeffFct2D *Coeffs, double *rhs, int time_dependent,
61  double *time_step, TFEFunction2D *old_u);
62 #endif
63 
64 double ComputeAlpha(double hK);
65 
66 #endif // __CONVDIFF__
Definition: FESpace2D.h:28
store cells in an array, used by cell iterators
Definition: Collection.h:18
Definition: FEFunction2D.h:24