Revision: 56594
http://sourceforge.net/p/brlcad/code/56594
Author: carlmoore
Date: 2013-08-05 19:46:33 +0000 (Mon, 05 Aug 2013)
Log Message:
-----------
disuss the -P option, implement 'RTD.debug =
Modified Paths:
--------------
brlcad/trunk/doc/docbook/system/man1/en/g-acad.xml
brlcad/trunk/src/conv/g-acad.c
Modified: brlcad/trunk/doc/docbook/system/man1/en/g-acad.xml
===================================================================
--- brlcad/trunk/doc/docbook/system/man1/en/g-acad.xml 2013-08-05 19:34:54 UTC
(rev 56593)
+++ brlcad/trunk/doc/docbook/system/man1/en/g-acad.xml 2013-08-05 19:46:33 UTC
(rev 56594)
@@ -22,6 +22,7 @@
<arg choice='opt'>-D <replaceable>calculation_tolerance</replaceable></arg>
<arg choice='opt'>-a <replaceable>abs_tol</replaceable></arg>
<arg choice='opt'>-r <replaceable>rel_tol</replaceable></arg>
+ <arg choice='opt'>-P <replaceable>number_of_CPUs</replaceable></arg>
<arg choice='opt'>-n <replaceable>norm_tol</replaceable></arg>
<arg choice='opt'>-o <replaceable>ACAD_file</replaceable></arg>
<arg choice='plain'><replaceable>database.g</replaceable></arg>
@@ -66,7 +67,10 @@
(stdout is the default).
The
<option>-e</option>
-option specifies a file for receiving the error messages.</para>
+option specifies a file for receiving the error messages.
+The
+<option>-P</option>
+option specifies the number of CPU's to be used, and also turns on a flag to
enable the receiving of core dumps.</para>
</refsect1>
<refsect1 xml:id='example'><title>EXAMPLE</title>
Modified: brlcad/trunk/src/conv/g-acad.c
===================================================================
--- brlcad/trunk/src/conv/g-acad.c 2013-08-05 19:34:54 UTC (rev 56593)
+++ brlcad/trunk/src/conv/g-acad.c 2013-08-05 19:46:33 UTC (rev 56594)
@@ -72,7 +72,7 @@
usage(const char *argv0)
{
bu_log("Usage: %s [-v][-i][-xX lvl][-a abs_tess_tol][-r rel_tess_tol][-n
norm_tess_tol]\n", argv0);
- bu_log("[-e error_file ][-D dist_calc_tol] -o output_file_name brlcad_db.g
object(s)\n");
+ bu_log("[-e error_file ][-D dist_calc_tol][-P #_of_CPUs] -o
output_file_name brlcad_db.g object(s)\n");
bu_exit(1, NULL);
}
@@ -487,6 +487,8 @@
bu_setprogname(argv[0]);
bu_setlinebuf(stderr);
+ RTG.debug = 0;
+
tree_state = rt_initial_tree_state; /* struct copy */
tree_state.ts_tol = &tol;
tree_state.ts_ttol = &ttol;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits