Previous Topic   Next Topic   Contents   Commands
by Function
  Commands
Alphabetically

ADD Command

ADd { S | C | SX | SY | SZ } { I L U | { Lower L | Upper U | Value I } }

ADD an integer I (may be either positive or negative) to an inclusive range L to U of either surface numbers or cell numbers, as determined by the second argument:

SSurface Numbers are modified.
CCell Numbers are modified.
SXOnly X-surfaces, such as PX, SX, CX, C/X, KX, and K/X, are modified.
SYOnly Y-surfaces are modified.
SZOnly Z-surfaces are modified.

The new numbers will appear in a subsequent MCNP input file generated with the SAVE command.