[Webnucleo-bugs] Usage bug in Libnucnet example35
Bradley S. Meyer
mbradle at CLEMSON.EDU
Sun Aug 3 16:57:11 EDT 2008
On Sun, August 3, 2008 4:34 pm, Tianhong Yu wrote:
> Hi,
>
> When I comple and run example35 in the libnucnet 0.2 distribution:
>
>>./example35
>
> I get the following usage statement:
>
> Usage: example35 in_file t9 rho t_end m_step xpath_nuc xpath_reac
>
> in_file = input single zone data xml filename
>
> t9 = input temperature
>
> rho = input density
>
> tau = density e-folding time scale (0 for static)
>
> t_end = time to evolve system
>
> m_step = frequency of steps to print out
>
> reaction = string giving reaction to vary
>
> factor = factor by which to vary reaction
>
> xpath_nuc = nuclear xpath expression (optional--required if xpath_reac
> specified)
>
> xpath_reac = reaction xpath expression (optional)
>
> The usage line is missing tau, reaction and factor. Thanks.
>
> Tianhong Yu
I confirm this. The following change has been applied and committed:
example35_old.c = example35.c in the 0.2 distribution
example35.c = corrected file
Running
>diff -Naur example35_old.c example35.c
gives
--- example35_old.c 2008-08-03 16:53:54.000000000 -0400
+++ example35.c 2008-08-03 16:53:54.000000000 -0400
@@ -87,7 +87,7 @@
if ( argc < 9 || argc > 11 ) {
fprintf(
stderr,
- "\nUsage: %s in_file t9 rho t_end m_step xpath_nuc xpath_reac\n\n",
+ "\nUsage: %s in_file t9 rho tau t_end m_step reaction factor
xpath_nuc xpath_reac\n\n",
argv[0]
);
fprintf(
The correction will appear in 0.3. Thanks for the report.
--
Bradley S. Meyer
Department of Physics and Astronomy
Clemson University
Clemson, SC 29634-0978
mbradle at clemson.edu
http://nucleo.ces.clemson.edu
More information about the Webnucleo-bugs
mailing list