MPI_jacsolve
getmatrix.h
Go to the documentation of this file.
1 #ifndef GETMATRIX_FILE
2 #define GETMATRIX_FILE
3 
4 
19 void Get_Matrix_Pattern(const int nelem, const int ndof_e, int const *const ia,
20  int &nnz, int* &id, int* &ik, float* &sk);
21 
22 
23 
32 void CalcElem(const int ial[3], const float xc[], float ske[3][3], float fe[3]);
33 
46 void AddElem(const int ial[3], const float ske[3][3], const float fe[3],
47  const int id[], const int ik[], float sk[], float f[]);
48 
49 
57 void DebugMatrix(const int nnode, const int id[], const int ik[], const float sk[]);
58 
59 void DebugVector(const int nnode, const float v[]);
60 
61 
80 void GetMatrix (const int nelem, const int ndof_e, const int ia[], const int nnode, const float xc[],
81  const int nnz, const int id[], const int ik[], float sk[], float f[]);
82 
83 
84 
97 void ApplyDirichletBC(const int nx, const int ny, const int neigh[],
98  const float u[], const int id[], const int ik[] , float sk[], float f[]);
99 
100 
112 int fetch(const int row, const int col, const int id[], const int ik[]);
113 
114 
126 //#pragma acc routine gang
127 void Defect(float w[], const float f[], const float u[],
128  const int nnode, const int id[], const int ik[], const float sk[]);
129 
130 
141 void CrsMult(float w[], const float u[], const int nnode, const int id[], const int ik[], const float sk[]);
142 
143 
144 
154 void GetDiag(const int nnode, const int id[], const int ik[], const float sk[], float d[]);
155 
156 
157 
158 #endif
159 
void DebugMatrix(const int nnode, const int id[], const int ik[], const float sk[])
Definition: getmatrix.cpp:202
void ApplyDirichletBC(const int nx, const int ny, const int neigh[], const float u[], const int id[], const int ik[], float sk[], float f[])
Definition: getmatrix.cpp:303
void Get_Matrix_Pattern(const int nelem, const int ndof_e, int const *const ia, int &nnz, int *&id, int *&ik, float *&sk)
Definition: getmatrix.cpp:150
void GetDiag(const int nnode, const int id[], const int ik[], const float sk[], float d[])
Definition: getmatrix.cpp:76
int fetch(const int row, const int col, const int id[], const int ik[])
Definition: getmatrix.cpp:19
void AddElem(const int ial[3], const float ske[3][3], const float fe[3], const int id[], const int ik[], float sk[], float f[])
Definition: getmatrix.cpp:129
void DebugVector(const int nnode, const float v[])
Definition: getmatrix.cpp:223
void CrsMult(float w[], const float u[], const int nnode, const int id[], const int ik[], const float sk[])
Definition: getmatrix.cpp:58
void CalcElem(const int ial[3], const float xc[], float ske[3][3], float fe[3])
Definition: getmatrix.cpp:93
void Defect(float w[], const float f[], const float u[], const int nnode, const int id[], const int ik[], const float sk[])
Definition: getmatrix.cpp:40
void GetMatrix(const int nelem, const int ndof_e, const int ia[], const int nnode, const float xc[], const int nnz, const int id[], const int ik[], float sk[], float f[])
Definition: getmatrix.cpp:244