PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/work_files/curs/curs/reverseTask_solver.h

http://cm-kp-406.googlecode.com/
C++ Header | 52 lines | 39 code | 13 blank | 0 comment | 0 complexity | 9591d01aed2089561ac97b44a7df6e88 MD5 | raw file
 1#ifndef __REVERSE_TASK_SOLVER__
 2#define __REVERSE_TASK_SOLVER__
 3
 4class CReverseTask_solver
 5{
 6	public:
 7		CReverseTask_solver();
 8		~CReverseTask_solver();
 9
10		void solve_task();
11
12		double (*phi1)(double, double);			//????????? ??????? ?? ????? ???????
13		double (*phi2)(double, double);			//????????? ??????? ?? ?????? ???????
14		double (*psi)(double, double);			//????????? ???????
15		double (*f)(double, double);			//??????????????
16		double (*analytic)(double, double);		//????????????? ???????
17
18		double alpha1;		// alpha1 * Ut + betta1 * U = phi1(x, t)
19		double betta1;
20		double alpha2;		// alpha2 * Ut + betta2 * U = phi2(x, t)
21		double betta2;
22
23		double xb;		// x begin
24		double xe;		// e end
25		double maxT;	// maximum Time
26
27		int N;			// ?????????? ????? ? ????????? ?? ??? X
28		int K;			// ?????????? ????? ?? ????????? ?????????
29
30		double stepT;	// tau - ??? ?? ???????
31
32		double a;
33		double b;
34		double c;
35
36		double accuracy;	// ????????
37		double task_c;
38		double task_lambda;
39		double task_qmax;
40		double task_tmax;
41
42		double* q_result;	// ??????? ?????? q
43		int iter_num;	//iteration number
44
45		double** directTable;	//??????? ??????? ?????? (??????? 1-?? ????)
46
47	private:
48	protected:
49		double get_discrepancy();	// ???????? ??????? (?????????? ??????? ???????????)
50};
51
52#endif