-
To run tests:
spec test/*.spec
-
To get help:
ivec2: /usbwr/usr/chena/prj/phx/src/ruby/gem/tie >lib/tie.rb -h Usage: tie.rb [-tpmv]
Specific options:
-t, --template=TEMPLATE The path to the template file, e.g. -t a.tmpl
-p, --parameter=PARAMETER One parameter file or multiple parameter files in single quote. (order matters). e.g. -p a.param or -p 'a.param b.param'
-m, --merged=MERGED Merged file path.
Common options:
--help Show this message
-v, --version Show version
-
To run:
-
To get result to stdio:
ivec2: /usbwr/usr/chena/prj/phx/src/ruby/gem/tie >lib/tie.rb -t data/test/template/input.tmpl -p ‘data/test/template/input.param’ fuel type: OFA fuel enrichments:
3.1
3.2
3.3
heights of each segment:
segment1 : 2.0
segment2 : 3.7
* To get result to file:
ivec2: /usbwr/usr/chena/prj/phx/src/ruby/gem/tie >lib/tie.rb -t data/test/template/input.tmpl -p ‘data/test/template/input.param’ -m input.inp ivec2: /usbwr/usr/chena/prj/phx/src/ruby/gem/tie >cat input.inp fuel type: OFA fuel enrichments:
3.1
3.2
3.3
heights of each segment:
segment1 : 2.0
segment2 : 3.7
* To merge a few parameter files into one template file:
ivec2: /usbwr/usr/chena/prj/phx/src/ruby/gem/tie >lib/tie.rb -t data/test/template/input.tmpl -p ‘data/test/template/input.param data/test/template/input_1.param’ fuel type: NEW fuel enrichments:
3.1
3.2
3.3
heights of each segment:
segment1 : 2.0
segment2 : 3.7