20#include <grass/glocale.h>
21#include <grass/N_pde.h>
52 Opt->type = TYPE_STRING;
54 Opt->key_desc =
"name";
56 Opt->options =
"gauss,lu,cholesky,jacobi,sor,cg,bicgstab,pcg";
57 Opt->guisection =
"Solver";
58 Opt->description = (
"The type of solver which should solve the "
59 "symmetric linear equation system");
64 Opt->type = TYPE_STRING;
66 Opt->key_desc =
"name";
67 Opt->answer =
"bicgstab";
68 Opt->options =
"gauss,lu,jacobi,sor,bicgstab";
69 Opt->guisection =
"Solver";
70 Opt->description = (
"The type of solver which should solve the linear "
75 Opt->type = TYPE_INTEGER;
77 Opt->answer =
"10000";
78 Opt->guisection =
"Solver";
79 Opt->description = (
"Maximum number of iteration used to solve the "
80 "linear equation system");
84 Opt->type = TYPE_DOUBLE;
86 Opt->answer =
"0.000001";
87 Opt->guisection =
"Solver";
88 Opt->description = (
"Error break criteria for iterative solver");
92 Opt->type = TYPE_DOUBLE;
95 Opt->guisection =
"Solver";
96 Opt->description = (
"The relaxation parameter used by the jacobi and "
97 "sor solver for speedup or stabilizing");
101 Opt->type = TYPE_DOUBLE;
103 Opt->answer =
"86400";
104 Opt->guisection =
"Solver";
105 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.