Setting Developer Flags

From OSUPDOCS
Revision as of 09:41, 25 May 2013 by Nairnj (talk | contribs) (Created page with "Developer flags are sometimes used to test new features or to create a special-case calculation needed in one simulation. They can only be entered using XML commands in the <t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Developer flags are sometimes used to test new features or to create a special-case calculation needed in one simulation. They can only be entered using XML commands in the <Header> block:

<DevelFlag Number='0'/>2</DevelFlag/>

This command sets a development flag by number, which must be from 0 to 4. The value of must be an integer. The default for all flags is zero. Any non-zero flags will be listed in the output file after the description. During development or in specific calculations, the code can might be modified to alter the calculations depending on these flag. These flags should not, however, be relied upon to mean anything permanent.