Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
setlin.c
Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #include "f2c.h"
00007
00008
00009
00010
00011 int setlin_(integer *ntype)
00012 {
00013
00014
00015 static integer ndash[5] = { 1,2,2,6,2 };
00016 static real xdash[40] = { 1.f,1.f,1.f,1.f,1.f,1.f,
00017 1.f,1.f,.007f,-.007f,1.f,1.f,1.f,1.f,1.f,1.f,.002f,-.003f,1.f,1.f,
00018 1.f,1.f,1.f,1.f,.007f,-.004f,.002f,-.004f,.002f,-.004f,1.f,1.f,
00019 2e-4f,-.005f,1.f,1.f,1.f,1.f,1.f,1.f };
00020
00021 static integer nd;
00022 extern int setdsh_(integer *, real *);
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 nd = *ntype;
00039 if (*ntype <= 0 || *ntype > 5) {
00040 nd = 1;
00041 }
00042
00043 setdsh_(&ndash[nd - 1], &xdash[(nd << 3) - 8]);
00044 return 0;
00045 }
00046