19 #ifndef MatrixSolver_H
20 #define MatrixSolver_H
22 #include "../Grid/Grid.h"
23 #include "../DiffusionCoefficient/DiffusionCoefficient.h"
25 #include "../GMRES/itlin.h"
30 bool MakeMatrix(
double *A,
45 string lower_border_condition_type,
46 string upper_border_condition_type,
47 string approximationMethod =
"AM_Split_C");
51 bool SolveMatrix(
double *f,
65 void gauss_solve(
double *a,
double *b,
int n);
79 bool tridag(
double a[],
double b[],
double c[],
double r[],
double u[],
long n);
87 bool MakeModelMatrix_3D(
90 int L_size,
int pc_size,
int alpha_size,
97 string L_lowerBoundaryCondition_calculationType,
98 string L_upperBoundaryCondition_calculationType,
99 string pc_lowerBoundaryCondition_calculationType,
100 string pc_upperBoundaryCondition_calculationType,
101 string alpha_lowerBoundaryCondition_calculationType,
102 string alpha_upperBoundaryCondition_calculationType,
108 double tau = 1e99,
double tauLpp = 1e99);
110 bool MakeModelMatrix_3D_KC(
113 int L_size,
int pc_size,
int alpha_size,
120 string L_lowerBoundaryCondition_calculationType,
121 string L_upperBoundaryCondition_calculationType,
122 string pc_lowerBoundaryCondition_calculationType,
123 string pc_upperBoundaryCondition_calculationType,
124 string alpha_lowerBoundaryCondition_calculationType,
125 string alpha_upperBoundaryCondition_calculationType,
131 double tau = 1e99,
double tauLpp = 1e99);
135 int il,
int im,
int ia,
136 string FirstDerivative,
string SecondDerivative,
139 double multiplicator);
142 int il,
int im,
int ia,
143 string FirstDerivative,
string SecondDerivative,
146 double multiplicator);
149 int il,
int im,
int ia,
150 string FirstDerivative,
string SecondDerivative,
153 double multiplicator);
This matrix calculates the diagonal values and index given parameters for x, y, and z...
Definition: Matrix.h:310
Definition: Parameters.h:208