Hi,
Just wanted to mention that a few things in the manual seem either wrong or out of date. I am using elegant version 34.4.1.
On page 10, %s is described as taking the name of the lattice file (without the extension), but it seems to be the input file name (at least when there is one).
On page 11, it says that RPN calculations require parentheses around them to work. Just quotes is enough for the input file, although either way works. But for the lattice file, it only works with quotation marks, if you also put in parentheses there is an error message "unknown token".
-Gregg
manual a little out of date?
Moderators: cyao, michael_borland
-
- Posts: 1945
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: manual a little out of date?
Gregg,
Thanks, those will be fixed and/or clarified in the next edition.
By the way, I don't think quotes only works for rpn expressions. It shouldn't. The right syntax is
In the lattice file, one doesn't need the parentheses, e.g., just use
--Michael
Thanks, those will be fixed and/or clarified in the next edition.
By the way, I don't think quotes only works for rpn expressions. It shouldn't. The right syntax is
Code: Select all
betax = "(3 sqrt)"
Code: Select all
b1: sben,angle="pi 3 /",l="3 sqrt"
Re: manual a little out of date?
Yes, I was a little too quick to say that the parentheses are optional. Elegant didn't give an error when I tried leaving them out, but it just grabbed the first number and ignored the RPN calculations. In the lattice file, if I try to use parentheses it actually cannot parse the statement and exits.
-Gregg
-Gregg