CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2019, 10:13
Default Fortran
  #1
Ted
New Member
 
Terence
Join Date: Aug 2019
Posts: 1
Rep Power: 0
Ted is on a distinguished road
this nested loop in Fortran includes two GO TO 105 statements and also has two DO 105 labels. Can anyone describe the logic around when the code exits the inner/outer loops ?

Last edited by Ted; September 1, 2019 at 03:20.
Ted is offline   Reply With Quote

Old   August 30, 2019, 18:29
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,163
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Probably not the answer you hoped for but, the best way for you to understand this is that you copy the obscure part in a separate program and see what happens, maybe with some print.


You should never be afraid of doing this sort of check.
sbaffini is offline   Reply With Quote

Reply

Tags
nested loop fortran


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 13 March 27, 2017 05:37
CFD Code Conversion from Intel Fortran to GNU Fortran pitto Main CFD Forum 4 August 4, 2016 14:51
Using Fortran with CFX: How to connect Fortran to CFX? l.te CFX 0 October 21, 2012 11:42
visual fortran Monica Main CFD Forum 1 August 28, 2004 20:45
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 09:34


All times are GMT -4. The time now is 21:36.