Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
9180013c
Commit
9180013c
authored
7 months ago
by
Terry D. Norbraten
Browse files
Options
Downloads
Patches
Plain Diff
[Terry N.] correct notes
parent
7cda7c23
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
viskit/doc/ViskitSoftwareDesignSummary.txt
+21
-21
21 additions, 21 deletions
viskit/doc/ViskitSoftwareDesignSummary.txt
with
21 additions
and
21 deletions
viskit/doc/ViskitSoftwareDesignSummary.txt
+
21
−
21
View file @
9180013c
...
...
@@ -18,7 +18,7 @@ ${user.home}. Here, configuration files are placed that can be modified from
Viskit by selecting File -> Settings. Things such as what panels to expose, the
"look and feel" of the UI, size of the UI frame, what project space was last
opened, what files were recently opened, and other project history data are
recorded.
I
f note is that macOS works best with the platform L&F while WIN
recorded.
O
f note is that macOS works best with the platform L&F while WIN
machines work best with the default L&F. The colorization of EG compilation
status only work on WIN when using the default L&F. Various logging output files
are also generated and placed in a logs directory for later reference should an
...
...
@@ -82,7 +82,7 @@ Assembly XML file modifications.
1) A DirectoryWatch is first set on a /tmp location for EG and Assy files. A
listener listens for the opening of, or changes to these files which ensures
that these copies receive any modifications and are checked before saving them
back out to the
original file. In a nutshell, working changes are tracked here
back out to the original file. In a nutshell, working changes are tracked here
until the file is validated, then all changes are copied back to the orig.
files.
...
...
@@ -95,10 +95,10 @@ XML files. These files are first validated against an EG schema, after which
java source is then generated and placed in build/src. The source is then
compiled and the completed byte code is placed in build/classes. Both src and
class directories observe package structures. During the first successful save
of an EG XML file, its MD5 hash is generated a rec
nd
orded in the
viskitProject.xml
project file along with the path to its generated byte code
(*.class). The
build/classes directory is then placed on the live ClassLoader
,
the same used to
compile these EGs.
of an EG XML file, its MD5 hash is generated a recorded in the
viskitProject.xml
project file along with the path to its generated byte code
(*.class). The
build/classes directory is then placed on the live ClassLoader
; the same used to
compile these EGs.
Simultaneously, when an EG is successfully compiled, its icon symbol is placed
on the EG Node pallette of the Assembly Editor panel. This is more commonly
...
...
@@ -170,13 +170,13 @@ if any EGs are subclassed from other EGs, these will not open automatically.
Also, if the last remaining Assy file is closed, all open EGs will close
including any non-associated EG files that were also opened.
7) At this point, the paths of
the
any opened Ass
e
y and EG files are recorded in
the
.viskit/c_app.xml file and will be opened upon next Viskit launch. The last
7) At this point, the paths of any opened Assy and EG files are recorded in
the
~
.viskit/c_app.xml file and will be opened upon next Viskit launch. The last
open Viskit project, as well as its history of Assy and EG files will be listed
in the File -> Recents menu selections for each editor.
8) Opened Assy files can now be modified, or new Assy files can be created. EG
(blue) and PCL (pink) nodes can be dragged across from the LEGOs tree panel, or
(blue) and PCL (pink) nodes can be dragged across from the LEGOs tree panel
s
, or
menu items can be invoked to do the same. EG nodes are parameterized via dialog
wizards. RandomVariates are instantiated via the RV Factory static getInstance
method utilizing (String, Object...) parameters. Adapters, SimEventListeners
...
...
@@ -189,21 +189,21 @@ selected from the Assy Editor which fires off a few events:
- validate and compile the Assy
- place compiled source on the classpath
- prepare arguments to launch a separate thread for the Assy
- populate the Assy Run panel with replication selections, reset Sim start time to 0.0
- populate the Assy Run panel with replication selections
- reset Sim start time to 0.0
- switch panel view to the Assy Run panel
10) When the Simulation Run VCR button is selected, the Assembly is launched via
a Thread
who
's ClassLoader context is separate (new) from the
ClassLoader that
Viskit is currently running. This is to eliminate any in
memory static
references
to
any previously initialized Assembly parameters
thereby giving the \
current Assembly a clean slate to run independently. The
main Thread run method
for each XML Assembly file is via subclass of
ViskitAssembly which subclasses
BasicAssembly which contains the run method.
Subsequent selection of the VCR
run button will produce the exact same results
if nothing in the Assy. has been
altered.
a Thread
of which it
's ClassLoader context is separate (new) from the
ClassLoader that
Viskit is currently running. This is to eliminate any in
memory static
references
from
any previously initialized Assembly parameters
thereby giving the
current Assembly a clean slate to run independently. The
main Thread run method
for each XML Assembly file is via subclass of
ViskitAssembly which subclasses
BasicAssembly which contains the run method.
Subsequent selection of the VCR
run button will produce the exact same results
if nothing in the Assy. has been
altered.
11) The simulation can be immediately stopped via the VCR stop button, or it can
run until its sim. stop time has expired for the number of replications
selected. Step-through and rewind buttons are implemented, but not working
quite right, so, they are disabled upon instantiation from the
InternalAssemblyRunner as of now.
selected. The default random seed from Simkit is utilized to start the
simulation run and cannot be altered at this time.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment