1 /* -- translated by f2c (version 20100827).
2 You must link the resulting object file with libf2c:
3 on Microsoft Windows system, link with libf2c.lib;
4 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5 or, if you install libf2c.a in a standard place, with -lf2c -lm
6 -- in that order, at the end of the command line, as in
7 cc *.o -lf2c -lm
8 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9
10 http://www.netlib.org/f2c/libf2c.zip
11 */
12
13 #include "libtinyf2c.h"
14
15 /* Table of constant values */
16
17 static integer c__9 = 9;
18 static integer c__1 = 1;
19 static integer c__3 = 3;
20 static logical c_true = TRUE_;
21 static real c_b8 = 1.f;
22 static real c_b9 = .6f;
23 static real c_b10 = 140.f;
24 static real c_b11 = 90.f;
25 static real c_b12 = 0.f;
26 static integer c__30 = 30;
27 static integer c__20 = 20;
28
29 /* ----------------------------------------------------------------------- */
30 /* Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
31 /* ----------------------------------------------------------------------- */
MAIN__(void)32 /* Main program */ int MAIN__(void)
33 {
34 /* System generated locals */
35 integer i__1;
36
37 /* Builtin functions */
38 integer s_wsle(cilist *), do_lio(integer *, integer *, char *, ftnlen),
39 e_wsle(void), s_rsle(cilist *), e_rsle(void);
40
41 /* Local variables */
42 static integer iws;
43 extern /* Subroutine */ int grcls_(void), grfrm_(void), gropn_(integer *),
44 slrat_(real *, real *), umpglb_(void);
45 extern integer isgtrc_(char *, ftnlen);
46 extern /* Subroutine */ int umpmap_(char *, ftnlen), sglset_(char *,
47 logical *, ftnlen), grsmpl_(real *, real *, real *), umpfit_(void)
48 , umiset_(char *, integer *, ftnlen), grstrf_(void), grstrn_(
49 integer *), sgpwsn_(void);
50
51 /* Fortran I/O blocks */
52 static cilist io___1 = { 0, 6, 0, 0, 0 };
53 static cilist io___2 = { 0, 5, 0, 0, 0 };
54
55
56 s_wsle(&io___1);
57 do_lio(&c__9, &c__1, " WORKSTATION IS (I) ? ;", (ftnlen)23);
58 e_wsle();
59 sgpwsn_();
60 s_rsle(&io___2);
61 do_lio(&c__3, &c__1, (char *)&iws, (ftnlen)sizeof(integer));
62 e_rsle();
63 sglset_("LFULL", &c_true, (ftnlen)5);
64 gropn_(&iws);
65 slrat_(&c_b8, &c_b9);
66 grfrm_();
67 grsmpl_(&c_b10, &c_b11, &c_b12);
68 i__1 = isgtrc_("HMR", (ftnlen)3);
69 grstrn_(&i__1);
70 umpfit_();
71 grstrf_();
72 umpglb_();
73 umiset_("INDEXOUT", &c__3, (ftnlen)8);
74 umpmap_("coast_world", (ftnlen)11);
75 umiset_("INDEXOUT", &c__30, (ftnlen)8);
76 umpmap_("border_world", (ftnlen)12);
77 umiset_("INDEXOUT", &c__20, (ftnlen)8);
78 umpmap_("plate_world", (ftnlen)11);
79 grcls_();
80 return 0;
81 } /* MAIN__ */
82
test08_()83 /* Main program alias */ int test08_ () { MAIN__ (); return 0; }
84