-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProblem-Parameters.h
More file actions
22 lines (19 loc) · 1 KB
/
Copy pathProblem-Parameters.h
File metadata and controls
22 lines (19 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*==============================================================================
Project: Bulk Synchronous Farm (BSF)
Theme: BSF Cimmino
Module: Problem-Parameters.h (Problem Parameters)
Prefix: PP
Author: Leonid B. Sokolinsky
This source code is a part of BSF Skeleton (https://github.com/leonid-sokolinsky/BSF-skeleton)
==============================================================================*/
//=========================== Problem Parameters =========================
#define PP_N 11 // Dimension of space = Number of equations
#define PP_INIT_POINT 100 // Value of all coordinates of initial approximation
#define PP_LAMBDA 1 // Relaxation factor
#define PP_MAX_ITER_COUNT 100000
#define PP_EPS 1E-6 // Precision
//-------------------------- Outpoot Parameters ---------------------------
#define PP_OUTPUT_LIMIT 11 // Number of Elements to output
#define PP_MATRIX_OUTPUT // Output Matrix
//-------------------------- Macroses ---------------------------
#define PP_MIN(x,y) (x<y?x:y)