Accessing PROPHET Domain Info
Pre-Written Flux Routines:
To understand how to access Prophet domain info, this
flux routine file contains three tmpvar functions:
-
print_dom(): Print detailed domain information.
-
print_itf(): Print detailed interface information.
-
print_op(): Print detailed operator information.
These functions contain almost exhaustive examples of accessing Prophet
domain info.
Using These Flux Routines:
To view Prophet domain info for your model, add one or more of
these tmpvar functions to the model. For example, suppose you have
sysvar=s1 in region r1:
+ tmpvar=v1,v2,v3
+ print_dom(s1|v1)@{r1}
+ print_itf(s1|v2)@{r1}
+ print_op(s1|v3)@{r1}
Notes:
-
When executing a physical operator routine, current domain information
is in PDEdom.
-
When using print_dom() and print_itf(), printed values separated by "/" should
be identical. They result from using alternative ways of getting the
same domain info.