|
[Sponsors] |
April 5, 2004, 12:47 |
input variables in subroutine..?
|
#1 |
Guest
Posts: n/a
|
hi all
according to nom.inc, the input variables are fixed. for example, INITFI.F has f2, f4, f6 coded as below EQUIVALENCE( UDAT03(020), F2), EQUIVALENCE( UDAT03(021), F4), EQUIVALENCE( UDAT03(022), F6). Another subroutine, such as scalfn.f, doesn't have the above variables as a input parameter. Is that okay that the above three equivalence lines are inserted into scalfn.f if i want to use the above varialbes at the scalfn.f? best regards mspark |
|
April 6, 2004, 17:52 |
Re: input variables in subroutine..?
|
#2 |
Guest
Posts: n/a
|
yes.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using ddt with different variables | harly | OpenFOAM | 0 | December 5, 2008 15:18 |
Effect of temp variables in subroutine | CF | Main CFD Forum | 2 | April 20, 2008 10:13 |
time dependent velocity input by user subroutine | shohel mahmud | Siemens | 4 | December 18, 2007 11:40 |
user SUBROUTINE for additional variables | Tuks | CFX | 0 | November 8, 2005 02:09 |
CEL and Variables | stex | CFX | 18 | June 27, 2005 05:50 |