Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: JEichhorn
  • Content: Threads
  • Order by date
  1. JEichhorn

    A weird problem

    This is a tricky one: I have to maintain 2 versions of an F90 code consisting of ~11000 lines. The only difference between those versions is as follows: Main program of version A contains an IF block which checks existence or non-existence of a certain file, opens the file, reads it and checks...
  2. JEichhorn

    Another efficiency issue

    Is it possible to re-code the following in a more efficient way? The code performs a so-called red-black SOR to solve a Poisson equation, dividing an iterative step into two half-steps with the second using updated neighbored values of the first. DO ijswap = 0,1 DO k = 2,n-2 DO j =...
  3. JEichhorn

    Efficiency of if-construct

    I was wondering, which of the following code snippets would usually perform faster. First avoiding IF statements within the loop, at the cost of a few additional arithmetic operations: DO k = 2,n-2 DO i = 2,l-2 vvb = sign(0.5,v(i,2,k)) zwil1(i,1,k) =...

Part and Inventory Search

Back
Top