Linear/Explicit Equations |
Nonlinear Equations |
Differential Equations |
Curve Fit |
Integration |
Enter File Name:
Tip Use / to group simlar files, for example: thermo/file1.pol or thermo/file2.pol
till |
PolymathPlus allows for custom tuning of the solution algorithms and the solution report format.
Settings are the default parameters, while Hints may override the settings per program.
Hints are prefixed with #@
in the program file. For example:
#@Report_fix_digits = 10
#@Chart_Size = 350 300
The default solution algorithms are:
#@NLE_SOLUTION_METHOD_INDEX = 1
0=Fast-Newton, 1=Safe-Newton, 2=Safe-Broydn, 3=Constrained
#@DEQ_SOLUTION_METHOD_INDEX = 0
0=RKF45, 1=RKF56, 2=BS, 3=Stiff, 4=StiffBSNonlinear
#@NLR_SOLUTION_METHOD_INDEX = 1
0=MRQMIN, 1=L-M
# | Default Setting | Value Type |
---|---|---|
1 | #@Report_show_header = False |
Boolean |
2 | #@Report_show_charts = True |
Boolean |
3 | #@Report_fix_digits = 10 |
Integer |
4 | #@NLE_SOLUTION_METHOD_INDEX = 1 |
Integer |
5 | #@NLE_tol_x = 1E-07 |
Number |
6 | #@NLE_tol_f = 1E-07 |
Number |
7 | #@NLE_min_tol = 1E-07 |
Number |
8 | #@NLE_eps = 1E-07 |
Number |
9 | #@NLE_max_iter = 150 |
Integer |
10 | #@DEQ_SOLUTION_METHOD_INDEX = 0 |
Integer |
11 | #@DEQ_Intermediate_data_points = 50 |
Integer |
12 | #@DEQ_RKF_H = 1E-06 |
Number |
13 | #@DEQ_RKF_TETOL = 1E-06 |
Number |
14 | #@DEQ_EPS = 1E-05 |
Number |
15 | #@DEQ_H1 = 0.001 |
Number |
16 | #@DEQ_HMIN = 1E-08 |
Number |
17 | #@NLR_SOLUTION_METHOD_INDEX = 1 |
Integer |
18 | #@NLR_maxiter = 64 |
Integer |
19 | #@NLR_tol = 0.0001 |
Number |
# | Hint syntax sample & Description |
---|---|
1 | #@Report_fix_digits = 8 |
Significant digits to display when presenting numbers | |
2 | #@Report_show_header = no |
Indicates whether a header text is displayed in the solution report Valid values are yes or no |
|
3 | #@Report_show_charts = no |
Indicates whether charts should be displayed in the solution report Valid values are yes or no |
|
4 | #@Report_show_Settings = no |
Valid values are yes or no | |
5 | #@Report_show_Source = no |
Valid values are yes or no | |
6 | #@Comma_decimal_symbol = no |
The default decimal symbol for numbers is dot. Change this to yes if the user program uses comma as the decimal symbol. The output report format of the numbers depends on the application server culture which is set to en-US, hence numbers decimal symbol would be a dot. |
# | Hint syntax sample & Description |
---|---|
1 | #@Report_show_root_function_values = no |
Valid values are yes or no | |
2 | #@Chart_Size = 400; 450 |
Indicates the size of the chart to be drawn in the report Values are Width; Height |
|
3 | #@NLE_SOLUTION_METHOD_INDEX = 1 |
Algorithm used to solve the NLE system. Valid method indexes are: 0=Fast-Newton, 1=Safe-Newton, 2=Safe-Broydn, 3=Constrained |
|
4 | #@NLE_tol_x = 1E-07 |
5 | #@NLE_tol_f = 1E-07 |
6 | #@NLE_min_tol = 1E-07 |
7 | #@NLE_eps = 1E-07 |
8 | #@NLE_max_iter = 150 |
# | Hint syntax sample & Description |
---|---|
1 | #@Report_Show_Intermediate_data_points = no |
Valid values are yes or no | |
2 | #@DEQ_Intermediate_data_points = 50 |
3 | #@DEQ_RKF_H = 1E-06 |
4 | #@DEQ_RKF_TETOL = 1E-06 |
5 | #@DEQ_EPS = 1E-05 |
6 | #@DEQ_H1 = 0.001 |
7 | #@DEQ_HMIN = 1E-08 |
8 | #@DEQ_SOLUTION_METHOD_INDEX = 3 |
DEQ solution method algorithm. Valid indexes are: 0=RKF45, 1=RKF56, 2=BS, 3=Stiff, 4=StiffBS |
|
9 | #@Chart_Size = 400; 450 |
Indicates the size of the chart to be drawn in the report Values are Width; Height |
|
10 | #@Chart_Y_Curves = A B k3 k4 k5 |
The variables names, separated by semicolon or space, to show on the chart. Invalid names will be ignored. You should replace the default entries. Use the | separator to group curves into separate charts (up to 3 groups), For example #@Chart_Y_Curves = A B | k3 k4 k5 |
|
11 | #@chart_log_scales = 010 |
Specifies whether to use a logarithmic y-scale (1) or a linear y-scale (0) for each chart, with each digit representing the first, second, or third chart |
# | Hint syntax sample & Description |
---|---|
1 | #@Report_show_data_points = no |
Display calculated datapoints table Valid values are yes or no |
|
2 | #@Chart_Size = 400; 450 |
Indicates the size of the chart to be drawn in the report Values are Width; Height |
|
3 | #@NLR_SOLUTION_METHOD_INDEX = 1 |
Algorithm used to solve the NLR model. Valid method indexes are: 0=MRQMIN, 1=L-M |
|
4 | #@NLR_maxiter = 64 |
5 | #@NLR_tol = 0.0001 |
✉ PolymathPlus Admin
Jan 14, 2025