[GRASS-SVN] r41502 - grass/trunk/lib/gpde
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 20 20:37:48 EDT 2010
Author: huhabla
Date: 2010-03-20 20:37:47 -0400 (Sat, 20 Mar 2010)
New Revision: 41502
Modified:
grass/trunk/lib/gpde/N_parse_options.c
Log:
Added gui section solver
Modified: grass/trunk/lib/gpde/N_parse_options.c
===================================================================
--- grass/trunk/lib/gpde/N_parse_options.c 2010-03-21 00:24:36 UTC (rev 41501)
+++ grass/trunk/lib/gpde/N_parse_options.c 2010-03-21 00:37:47 UTC (rev 41502)
@@ -33,7 +33,7 @@
* be returned (not NULL).
*
* This function is related to the gpde library, general standard options can be
- * found in gis.h. These options are set with G_define_standard_option ();
+ * found in lib/gis/parser.c. These options are set with G_define_standard_option ();
*
* \param[in] opt Type of Option struct to create
* \return Option * Pointer to an Option struct
@@ -54,6 +54,7 @@
Opt->key_desc = "name";
Opt->answer = "cg";
Opt->options = "gauss,lu,cholesky,jacobi,sor,cg,bicgstab,pcg";
+ Opt->guisection = _("solver");
Opt->description =
("The type of solver which should solve the symmetric linear equation system");
break;
@@ -65,6 +66,7 @@
Opt->key_desc = "name";
Opt->answer = "bicgstab";
Opt->options = "gauss,lu,jacobi,sor,bicgstab";
+ Opt->guisection = _("solver");
Opt->description =
("The type of solver which should solve the linear equation system");
break;
@@ -73,6 +75,7 @@
Opt->type = TYPE_INTEGER;
Opt->required = NO;
Opt->answer = "100000";
+ Opt->guisection = _("solver");
Opt->description =
("Maximum number of iteration used to solver the linear equation system");
break;
@@ -81,6 +84,7 @@
Opt->type = TYPE_DOUBLE;
Opt->required = NO;
Opt->answer = "0.0000000001";
+ Opt->guisection = _("solver");
Opt->description =
("Error break criteria for iterative solvers (jacobi, sor, cg or bicgstab)");
break;
@@ -89,6 +93,7 @@
Opt->type = TYPE_DOUBLE;
Opt->required = NO;
Opt->answer = "1";
+ Opt->guisection = _("solver");
Opt->description =
("The relaxation parameter used by the jacobi and sor solver for speedup or stabilizing");
break;
@@ -97,6 +102,7 @@
Opt->type = TYPE_DOUBLE;
Opt->required = YES;
Opt->answer = "86400";
+ Opt->guisection = _("solver");
Opt->description = _("The calculation time in seconds");
break;
}
More information about the grass-commit
mailing list