Cubit 15.3 User Documentation
When using APREPRO, statements can be echoed to a journal file. To do so, use the following command:
[set] Journal [Graphics|Names|Aprepro|Errors] [on|off]
Simply typing "journal aprepro" without an argument will display the current aprepro journaling setting.
For example,
bri x {2*5.0}
is journaled as
brick x {2*5.0}
if aprepro journaling is ON, or
brick x 10
if aprepro journaling is off. The default is ON.
Comments are also journaled. This is useful for documenting aprepro definitions and descriptions.
Comments on the same line as a command get split into two separate lines in the journal file.
When journal aprepro is ON, numbers are journaled exactly as they are entered. The maximum number of significant digits is determined by the command input.
When journal aprepro is off, numeric results of aprepro statements are journaled according to the maximum number of significant digits hard-coded into CUBIT, using the value of DBL_DIG.
Loops are not journaled as loops, per se. For example, the APREPRO expression:
{loop(3)}
bri x {x}
{endloop}
is journaled as:
bri x {x}
bri x {x}
bri x {x}
Multi-line strings are currently not journaled (both definitions and when they are expanded). For example,
#{line = 'bri x 10
mesh vol 1'}
{line}
will be journaled as
bri x 10
mesh vol 1
Note that bri x 10\n mesh vol 1 was not journaled as {line}