ParMooN
 All Classes Functions Variables Friends Pages
AssembleMat2D.h
1 
11 #ifndef __ASSEMBLEMAT2D__
12 #define __ASSEMBLEMAT2D__
13 
14 #include <AllClasses.h>
15 #include <Assemble.h>
16 #include <Enumerations.h>
17 
18 #ifdef _MPI
19 
20 #endif
21 
22 #ifdef _OMPONLY
23 
24 #endif
25 
28 {
29  protected:
30 
31  TFESpace2D **FeSpaces, **FeRhs;
32  TSquareMatrix2D **SqMatrices;
33  TMatrix2D **RecMatrices;
34  TDiscreteForm2D *DiscreteForm;
35  BoundCondFunct2D **BoundaryConditions;
36  BoundValueFunct2D **BoundaryValues;
37  TAuxParam2D *AuxParam;
38  double *Param[MaxN_QuadPoints_2D], *AuxArray[MaxN_QuadPoints_2D];
39 
40 
41  public:
43  TAssembleMat2D(int n_fespaces, TFESpace2D **fespaces,
44  int n_sqmatrices, TSquareMatrix2D **sqmatrices,
45  int n_matrices, TMatrix2D **matrices,
46  int n_rhs, double **rhs, TFESpace2D **ferhs,
47  TDiscreteForm2D *discreteform,
48  BoundCondFunct2D **boundarybonditions,
49  BoundValueFunct2D **boundaryvalues,
50  TAuxParam2D *parameters);
51 
54 
56  void Init();
57 
59  void DeAllocate();
60 
62  void Reset();
63 
65  void Assemble2D();
66 
68  void AssembleNavierSlip();
69 
70 private:
72  void AddLocalSqMatToGlobal(int i, TBaseCell *cell, int *N_BaseFunct);
73 
75  void AddLocalRecMatToGlobal(int i, TBaseCell *cell, int *N_BaseFunct);
76 
78  void AddLocalRhsToGlobal(int i, TBaseCell *cell, int *N_BaseFunct, BaseFunct2D *BaseFuncts, RefTrans2D reftrans);
79 
81  void ModifyMatHang();
82 
84  void PrintAllMat();
85 
86 };
87 
88 #endif
89 
TAssembleMat2D(int n_fespaces, TFESpace2D **fespaces, int n_sqmatrices, TSquareMatrix2D **sqmatrices, int n_matrices, TMatrix2D **matrices, int n_rhs, double **rhs, TFESpace2D **ferhs, TDiscreteForm2D *discreteform, BoundCondFunct2D **boundarybonditions, BoundValueFunct2D **boundaryvalues, TAuxParam2D *parameters)
source file for TAssembleMat2D
Definition: AssembleMat2D.C:24
void Init()
Definition: AssembleMat2D.C:104
Definition: SquareMatrix2D.h:20
void DeAllocate()
Definition: AssembleMat2D.C:164
Definition: AuxParam2D.h:22
base class for assembling matrices
Definition: AssembleMat2D.h:27
Definition: FESpace2D.h:28
Definition: DiscreteForm2D.h:21
Definition: Matrix2D.h:20
information for finite element data structure
Definition: BaseCell.h:25
void Assemble2D()
Definition: AssembleMat2D.C:219
base class for assembling matrices
Definition: Assemble.h:26
~TAssembleMat2D()
Definition: AssembleMat2D.C:97
void Reset()
Definition: AssembleMat2D.C:200
void AssembleNavierSlip()