ParMooN
 All Classes Functions Variables Friends Pages
AssembleMat3D.h
1 
11 #ifndef __ASSEMBLEMAT3D__
12 #define __ASSEMBLEMAT3D__
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  TFESpace3D **FeSpaces, **FeRhs;
32  TSquareMatrix3D **SqMatrices;
33  TMatrix3D **RecMatrices;
34  TDiscreteForm3D *DiscreteForm;
35  BoundCondFunct3D **BoundaryConditions;
36  BoundValueFunct3D **BoundaryValues;
37  TAuxParam3D *AuxParam;
38  double *Param[MaxN_QuadPoints_3D], *AuxArray[MaxN_QuadPoints_3D];
39 
40 
41  public:
43  TAssembleMat3D(int n_fespaces, TFESpace3D **fespaces,
44  int n_sqmatrices, TSquareMatrix3D **sqmatrices,
45  int n_matrices, TMatrix3D **matrices,
46  int n_rhs, double **rhs, TFESpace3D **ferhs,
47  TDiscreteForm3D *discreteform,
48  BoundCondFunct3D **boundarybonditions,
49  BoundValueFunct3D **boundaryvalues,
50  TAuxParam3D *parameters);
51 
54 
56  void Init();
57 
59  void DeAllocate();
60 
62  void Reset();
63 
65  void Assemble3D();
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, BaseFunct3D *BaseFuncts, RefTrans3D reftrans);
79 
81  void ModifyMatHang();
82 
84  void PrintAllMat();
85 
86 };
87 
88 #endif
89 
~TAssembleMat3D()
Definition: AssembleMat3D.C:98
void DeAllocate()
Definition: AssembleMat3D.C:166
TAssembleMat3D(int n_fespaces, TFESpace3D **fespaces, int n_sqmatrices, TSquareMatrix3D **sqmatrices, int n_matrices, TMatrix3D **matrices, int n_rhs, double **rhs, TFESpace3D **ferhs, TDiscreteForm3D *discreteform, BoundCondFunct3D **boundarybonditions, BoundValueFunct3D **boundaryvalues, TAuxParam3D *parameters)
source file for TAssembleMat3D
Definition: AssembleMat3D.C:23
Definition: SquareMatrix3D.h:20
Definition: AuxParam3D.h:21
base class for assembling matrices
Definition: AssembleMat3D.h:27
void AssembleNavierSlip()
Definition: AssembleMat3D.C:1171
Definition: FESpace3D.h:22
void Assemble3D()
Definition: AssembleMat3D.C:221
void Init()
Definition: AssembleMat3D.C:105
Definition: Matrix3D.h:20
Definition: DiscreteForm3D.h:21
void Reset()
Definition: AssembleMat3D.C:202
information for finite element data structure
Definition: BaseCell.h:25
base class for assembling matrices
Definition: Assemble.h:26