Symbol Names in ParsedFunction #25963
Answered
by
richmondodufisan
TLWise
asked this question in
Q&A Modules: General
-
I am having to define functions similar to the one below for a large number of objects. I would like to define the constants used in this case as symbol_names as global parameters that do not have to be defined each and every time as in the below example. Is there a way to reduce the repitetion of constant value definition for each function that will have to be defined?
|
Beta Was this translation helpful? Give feedback.
Answered by
richmondodufisan
Nov 12, 2023
Replies: 1 comment 1 reply
-
At the top of your input file (not within any block), you can define the parameter
and then access it anywhere within any block with |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
GiudGiud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the top of your input file (not within any block), you can define the parameter
param = 0
and then access it anywhere within any block with
${param}