ParMooN
 All Classes Functions Variables Friends Pages
Upwind.h
1 // =======================================================================
2 // @(#)Upwind.h 1.4 10/18/99
3 //
4 // Purpose: upwind stabilization
5 // do upwind assembling for first order nonconforming elements
6 //
7 // Authors: Volker Behns / Gunar Matthies 18.10.99
8 //
9 // =======================================================================
10 
11 
12 #ifndef __UPWIND__
13 #define __UPWIND__
14 
15 void UpwindForNavierStokes(CoeffFct2D *Coeff, TSquareMatrix2D *sqmatrix,
16  TFEFunction2D *u1, TFEFunction2D *u2);
17 
18 void UpwindForConvDiff(CoeffFct2D *Coeff,
19  TSquareMatrix2D *sqmatrix, double *RHS,
20  TFESpace2D *fespace, TDiscreteForm2D *DiscreteForm,
22  int ConvIsVelo);
23 
24 /******************************************************************************/
25 //
26 // IMPROVED MIZUKAMI-HUGHES METHOD (Knobloch, CMAME 2007)
27 //
28 /******************************************************************************/
29 
30 void ComputeParametersMizukamiHughes(TBaseCell *cell, int cell_no,
31  TFEFunction2D *u, CoeffFct2D *Coeffs,
32  BoundCondFunct2D *BoundaryCondition,
33  int *dof, int ActiveBound,
34  double *c_mh);
35 
36 void MizukamiHughes(TSquareMatrix2D *sqmatrix,
37  double *RHS,
38  TFESpace2D *fespace,
39  TFEFunction2D *u,
40  CoeffFct2D *Coeffs,
41  BoundCondFunct2D *BoundaryCondition);
42 
43 
44 #endif
Definition: SquareMatrix2D.h:20
Definition: FESpace2D.h:28
Definition: DiscreteForm2D.h:21
information for finite element data structure
Definition: BaseCell.h:25
Definition: FEFunction2D.h:24