MPI_jacsolve
 All Files Functions
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 
50 
58 void DebugMatrix(const int nnode, const int id[], const int ik[], const float sk[]);
59 
60 void DebugVector(const int nnode, const float v[]);
61 
62 
81 void GetMatrix (const int nelem, const int ndof_e, const int ia[], const int nnode, const float xc[],
82  const int nnz, const int id[], const int ik[], float sk[], float f[]);
83 
84 
85 
98 void ApplyDirichletBC(const int nx, const int ny, const int neigh[],
99  const float u[], const int id[], const int ik[] , float sk[], float f[]);
100 
101 
113 int fetch(const int row, const int col, const int id[], const int ik[]);
114 
115 
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:198
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:312
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:145
void GetDiag(const int nnode, const int id[], const int ik[], const float sk[], float d[])
Definition: getmatrix.cpp:79
int fetch(const int row, const int col, const int id[], const int ik[])
Definition: getmatrix.cpp:22
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:219
void CrsMult(float w[], const float u[], const int nnode, const int id[], const int ik[], const float sk[])
Definition: getmatrix.cpp:61
void CalcElem(const int ial[3], const float xc[], float ske[3][3], float fe[3])
Definition: getmatrix.cpp:96
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:43
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:240