From 58738986c71ab25a5ae46cfcbddc83c21ec719c4 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Fri, 21 Jun 2013 09:34:19 -0400 Subject: [PATCH] Changed commandline flag from -k to -t --- docs/source/usersguide/processing.rst | 2 +- man/man1/openmc.1 | 2 +- src/initialize.F90 | 2 +- src/output.F90 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/usersguide/processing.rst b/docs/source/usersguide/processing.rst index f51f87685f..bd0d19a1a4 100644 --- a/docs/source/usersguide/processing.rst +++ b/docs/source/usersguide/processing.rst @@ -362,7 +362,7 @@ Particle Track Visualization OpenMC can dump particle tracks—the position of particles as they are transported through the geometry. There are two ways to make OpenMC output tracks: all particle tracks through a commandline argument or specific particle tracks through settings.xml. -Running OpenMC with the argument "-k", "-track", or "--track" will cause a track file to be created for every particle transported in the code. +Running OpenMC with the argument "-t", "-track", or "--track" will cause a track file to be created for every particle transported in the code. The settings.xml file can dictate that specific particle tracks are output. These particles are specified withen a ''track'' element. The ''track'' element should contain triplets of integers specifying the batch, generation, and particle numbers, respectively. For example, to output the tracks for particles 3 and 4 of batch 1 and generation 2 the settings.xml file should contain: diff --git a/man/man1/openmc.1 b/man/man1/openmc.1 index 326860e5e4..56ae873a48 100644 --- a/man/man1/openmc.1 +++ b/man/man1/openmc.1 @@ -24,7 +24,7 @@ Run in plotting mode Restart a previous run from a state point or a particle restart file named \fIbinaryFile\fP. .TP -.B "\-k\fR, \fP\-\-track" +.B "\-t\fR, \fP\-\-track" Write tracks for all particles. .TP .B "\-v\fR, \fP\-\-version" diff --git a/src/initialize.F90 b/src/initialize.F90 index ad9c0ada23..cecb38719e 100644 --- a/src/initialize.F90 +++ b/src/initialize.F90 @@ -369,7 +369,7 @@ contains case ('-eps_tol', '-ksp_gmres_restart') ! Handle options that would be based to PETSC i = i + 1 - case ('-k', '-track', '--track') + case ('-t', '-track', '--track') write_all_tracks = .true. i = i + 1 case default diff --git a/src/output.F90 b/src/output.F90 index 57ab50c7f7..9afc676841 100644 --- a/src/output.F90 +++ b/src/output.F90 @@ -170,7 +170,7 @@ contains write(OUTPUT_UNIT,*) ' -p, --plot Run in plotting mode' write(OUTPUT_UNIT,*) ' -r, --restart Restart a previous run from a state point' write(OUTPUT_UNIT,*) ' or a particle restart file' - write(OUTPUT_UNIT,*) ' -k, --track Write tracks for all particles' + write(OUTPUT_UNIT,*) ' -t, --track Write tracks for all particles' write(OUTPUT_UNIT,*) ' -v, --version Show version information' write(OUTPUT_UNIT,*) ' -?, --help Show this message' end if