CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

input variables in subroutine..?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 5, 2004, 12:47
Default input variables in subroutine..?
  #1
mspark
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
  Reply With Quote

Old   April 6, 2004, 17:52
Default Re: input variables in subroutine..?
  #2
Leo
Guest
 
Posts: n/a
yes.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ddt with different variables harly OpenFOAM 0 December 5, 2008 16: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 CD-adapco 4 December 18, 2007 12:40
user SUBROUTINE for additional variables Tuks CFX 0 November 8, 2005 03:09
CEL and Variables stex CFX 18 June 27, 2005 05:50


All times are GMT -4. The time now is 12:47.