source: CIVL/mods/dev.civl.abc/examples/fortran/argonne/LOOPS/a.f90

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 178 bytes
Line 
1subroutine f(n, a, b)
2 integer :: n, i
3 double precision :: a, b
4 do i=0,n-1
5 a = a+a*b + a*b*b
6 if(mod(i,2) .eq. 0) cycle
7 a = a+b*a*a + b*a;
8 end do
9end subroutine
Note: See TracBrowser for help on using the repository browser.