61 lines
1.0 KiB
Plaintext
Executable File
61 lines
1.0 KiB
Plaintext
Executable File
.. _define:
|
|
|
|
>  _place_holder;
|
|
|
|
>
|
|
|
|
> **_DEFINE_**
|
|
|
|
>
|
|
|
|
>> Allows a number to be associated with a character string, such that the
|
|
character string can be used in input decks in place of the _place_holder;
|
|
number. The keyword _remove _in the third argument will remove a defined
|
|
variable from the stack of defined variables.
|
|
|
|
>
|
|
|
|
>  _place_holder;FORMAT:
|
|
|
|
>
|
|
|
|
>> `**define /** name / value_real
|
|
|
|
``**define /** name / value_integer`
|
|
|
|
`**define /** name / value_character`
|
|
|
|
`**define /** name / remove`
|
|
|
|
>
|
|
|
|
> EXAMPLE:
|
|
|
|
>
|
|
|
|
>> `**define **/ nx / 3
|
|
|
|
**define **/ ny / 4
|
|
**define** / nz / 5
|
|
**define **/ bottom / 0.1
|
|
**define **/ top / 4.0
|
|
**define** / left / 9.8
|
|
**define** / type / reflect
|
|
|
|
**surface**/s1/reflect/box/0.0,left,bottom/1.0,right,top
|
|
**rz**/xyz/nx/nz/0.0,left,bottom/1.0,right,top/1,1,1
|
|
|
|
``**define **/ top / 5.0 `
|
|
|
|
`**surface**/s1/reflect/box/0.0,left,bottom/1.0,right,top
|
|
|
|
**rz**/xyz/nx/nz/0.0,left,bottom/1.0,right,top/1,1,1`
|
|
|
|
`**define** / nx / remove
|
|
|
|
**define** / ny / remove
|
|
**define** / nz / remove`
|
|
|
|
|
|
|