Hi,
I am attempting to perform a vary_element with a link_element referencing the same element. This case, it is a scan of beta while keeping the same ratio with alpha. It is two parts: the vary_element, then linking the other element. However, it isn't recognizing "same-occurrence" for the location, with the error:
&link_elements
target = SETTWISS_DOGLEG1,
exclude = {NULL},
item = ALPHAX,
source = SETTWISS_DOGLEG1,
source_position = same-occurrence,
mode = dynamic,
equation = "BETAX -6.0 /",
minimum = -1.797693134862316e+308,
maximum = 1.797693134862316e+308,
&end
error: source_position not given/unknown
Program trace-back:
"same-occurrence" is hyphenated in the documentation, but causes an error, while "same occurrence" works without an error.
The relevant blocks from the input file are:
&vary_element
index_number = 0
index_limit = 50
name = SETTWISS_DOGLEG1,
item = BETAX
initial = 1
final = 50
geometric = 0
&end
&link_elements
source_position = same occurrence
target = SETTWISS_DOGLEG1
item = ALPHAX
source = SETTWISS_DOGLEG1
equation = "BETAX -6.0 *"
mode = dynamic
&end
I don't know if I am doing something unintended, or if the documentation has a hyphen where it should not be.
Error or typo in documentation for link_elements
Moderators: cyao, michael_borland
-
- Posts: 7
- Joined: 14 Apr 2012, 17:15
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Error or typo in documentation for link_elements
Chris,
The problem is that you spelled "occurrence" with two r's. The word is spelled incorrectly throughout elegant (!). Try "same-occurence".
--Michael
The problem is that you spelled "occurrence" with two r's. The word is spelled incorrectly throughout elegant (!). Try "same-occurence".
--Michael