Debian Codegraph @

debian/external_deps/fetk/punc/tools/tests/cgcode/mainf.f

raw
1 c* ***************************************************************************
2 c* PUNC = < Portable Understructure for Numerical Computing >
3 c* Copyright (C) 1994-- Michael Holst
4 c*
5 c* This library is free software; you can redistribute it and/or
6 c* modify it under the terms of the GNU Lesser General Public
7 c* License as published by the Free Software Foundation; either
8 c* version 2.1 of the License, or (at your option) any later version.
9 c*
10 c* This library is distributed in the hope that it will be useful,
11 c* but WITHOUT ANY WARRANTY; without even the implied warranty of
12 c* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 c* Lesser General Public License for more details.
14 c*
15 c* You should have received a copy of the GNU Lesser General Public
16 c* License along with this library; if not, write to the Free Software
17 c* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 c*
19 c* rcsid="$Id: mainf.f,v 1.3 2010/08/12 05:52:46 fetk Exp $"
20 c* ***************************************************************************
21
22 c* ***************************************************************************
23 c* File: mainf.f
24 c*
25 c* Purpose: Driver program for testing the VF2C.
26 c*
27 c* Author: Michael Holst
28 c* ***************************************************************************
29
30 program main
31 integer n, incx, incy
32 double precision dx(3), dy(3)
33 double precision function ddot
34 n = 3
35 incx = 1
36 incy = 1
37 print*,"mainf: just before call to BLAS::ddot"
38 call ddot(n, dx, incx, dy, incy)
39 print*,"mainf: just after call to BLAS::ddot"
40 stop
41 end
42