|
[Sponsors] |
August 17, 2021, 12:35 |
[Fortran] DO loop bounds calculation
|
#1 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 348
Rep Power: 10 |
Howdy Folks:
I have a block of code in a do loop that is abbreviated as follows: Code:
integer :: k0, k1, k, kN k0 = 0 kN = 100 k1 = k0 + 1 do k = k1,kN ! do something end do Code:
do k = k0+1,kN Your comments would be quite welcomed. Gerry. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transfer output data as input for second calculation | mannobot | Main CFD Forum | 3 | December 7, 2018 09:37 |
Determining the calculation sequence of the regions in multe regions calculation | peterhess | OpenFOAM Running, Solving & CFD | 4 | March 9, 2016 03:07 |
Quick Question on Calculation Time | Davitt | COMSOL | 0 | January 14, 2016 14:16 |
Understanding the PISO loop of icoFoam | ooo | OpenFOAM Programming & Development | 0 | March 14, 2014 09:28 |
Defining output as input for second calculation | mannobot | FLUENT | 1 | June 2, 2010 04:20 |