The SNP Default Setup File
At startup the shock normal program reads the file SNDefaults
to establish a number of initial setup parameters. It looks first for this
file in the directory in which it was invoked and if not present in the
TclSN directory under TCLTOOLS_HOME. This allows the SNP to
be customized on both a personal and system wide level.
Each line in the file defines one parameter. A line consists of a parameter
name followed by a colon and then the parameter value. The parameter name
should never be changed. The parameters defined include:
- Solution Resolution
-
This is the default solution which appears in the menu at startup.
Valid values include: 30x30, 15x15, 10x10, 5x5, 4x4, 3x3, 2x2, 1x1
- Grid Resolution
-
This is the default plot grid size which appears in the menu at
startup. Valid values include: 30x30, 15x15, 10x10, 5x5, 4x4, 3x3,
2x2, 1x1
- Process Data By
-
The default method used to form the data pairs between the upstream
and downstream data. Valid options include: MIRRORED, PERMUTATED
- VPlotWidth
-
This is the width of the visual portion of the data plot in pixels.
The actual plot width may be larger and if so can be accessed via the
scroll bar. (See TPlotWidth below). Note that the program
will default any width which is less than that needed to display the
buttons across the top of the menu to an acceptable value.
- VPlotHeight
-
This is the height of the visual portion of the data plot in pixels.
The actual plot height may be larger and if so can be accessed via the
scroll bar. (See TPlotHeight below).
- TPlotWidth
-
This is the total width the data plot in pixels. If it is larger than
the visual width set above in VPlotWidth then the unseen portion
is accesed using the scroll bars. Note that if this value is less than
VPlotWidth the program will set it internally to that value.
- TPlotHeight
-
This is the total height the data plot in pixels. If it is larger than
the visual height set above in VPlotHeight then the unseen portion
is accesed using the scroll bars. Note that if this value is less than
VPlotHeight the program will set it internally to that value.
- MaxIterations
-
The maximum number of iterations used in the minimization of the
Rankine-Hugoniot equations. The iteration automatically terminates
if the chi-squared drops below 1e-20 or remains unchanged for a
number of iterations. At times, however, the minizimation wanders
about near a local minimum and in these instances the full MaxIterations
are used.
- PTScoll
-
The size of the area used for the surface plot is computed from the
size allocated to the data plot. This option indicated if this
area should be computed from the TPlot options above (YES) or from
the VPlot options (NO). Setting to YES will cause the surface plot
to require scrolling if the data plot does.