21 #include <grass/glocale.h>
22 #include <grass/N_pde.h>
52 Opt->type = TYPE_STRING;
54 Opt->key_desc =
"name";
56 Opt->guisection =
"Solver";
57 Opt->options =
"gauss,lu,cholesky,jacobi,sor,cg,bicgstab,pcg";
59 _(
"The type of solver which should solve the symmetric linear equation system");
64 Opt->type = TYPE_STRING;
66 Opt->key_desc =
"name";
67 Opt->answer =
"bicgstab";
68 Opt->guisection =
"Solver";
69 Opt->options =
"gauss,lu,jacobi,sor,bicgstab";
71 _(
"The type of solver which should solve the linear equation system");
75 Opt->type = TYPE_INTEGER;
77 Opt->answer =
"100000";
78 Opt->guisection =
"Solver";
80 _(
"Maximum number of iteration used to solver the linear equation system");
84 Opt->type = TYPE_DOUBLE;
86 Opt->answer =
"0.0000000001";
87 Opt->guisection =
"Solver";
89 _(
"Error break criteria for iterative solvers (jacobi, sor, cg or bicgstab)");
93 Opt->type = TYPE_DOUBLE;
96 Opt->guisection =
"Solver";
98 _(
"The relaxation parameter used by the jacobi and sor solver for speedup or stabilizing");
102 Opt->type = TYPE_DOUBLE;
104 Opt->answer =
"86400";
105 Opt->guisection =
"Solver";
106 Opt->description = _(
"The calculation time in seconds");
struct Option * N_define_standard_option(int opt)
Create standardised Option structure related to the gpde library.
struct Option * G_define_option(void)
Initializes an Option struct.