Quantcast
Channel:
Viewing all articles
Browse latest Browse all 14

Quote:Dino R. wrote:

$
0
0

Quote:

Dino R. wrote:

Ah, thanks a lot. This is kind of obvious, but I'm still surprised that the default behavior is to start all indices from 1.

To do otherwise puts a big burden on the compiler that is better suited in the hands of the programmer.  Its also the reason I deal with a lot of code that resorts to

function func(u,v,w,ib,ie,jb,je,kb,ke)
   integer :: ib,ie,jb,je,kb,ke
   real, dimension(ib:ie) :: u
   real, dimension(jb,je) :: v
    real, dimension(kb:ke) :: w

Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>