source: CIVL/examples/fortran/nek5000/verification/driver_speclib.f

main
Last change on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

  • Property mode set to 100644
File size: 466 bytes
Line 
1 PROGRAM SPECLIB
2 INTEGER NP = 3, I, J
3 REAL TMP
4 DIMENSION Z(3), W(3)
5
6 DO I=1,NP
7 Z(I) = I*2.0
8 W(I) = 1.0
9 END DO
10 DO I=1, 2*NP, 2
11 TMP = 2.0*I*ATAN(1)/NP
12!$CVL $ASSUME(COS(TMP) + COS(4*ATAN(1) - TMP) == 0.0);
13 END DO
14!$CVL $ASSUME(2.0*COS(ATAN(1))*COS(ATAN(1)) == 1.0);
15!$CVL $ASSUME(4.0*COS(10.0/3.0*ATAN(1))*COS(10.0/3.0*ATAN(1)) == 3.0)
16 CALL ZWGL(Z,W,NP)
17 END PROGRAM SPECLIB
Note: See TracBrowser for help on using the repository browser.