質問編集履歴
1
プログラムソースの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -63,3 +63,113 @@
|
|
63
63
|
|
64
64
|
|
65
65
|
ご回答よろしくお願いいたします。
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
-----6/18追記-----
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
Z0.exeのプログラムに原因があるのではないかというご指摘をいただいたので
|
80
|
+
|
81
|
+
以下にプログラムソースの一部を記載させていただきます。
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
INTEGER NUMP1 ,NUME1,NUMP,K,I,J,N1,N2,N3,N4,KX(100000,8),NY,NX,
|
86
|
+
|
87
|
+
1 N5,N6,N7,N8 ,KM(100000,30),NEP,NZ,NM, KL
|
88
|
+
|
89
|
+
2 J4,J41,J42, KNODE(2000000), KX8(2000000)
|
90
|
+
|
91
|
+
3 , K1,K2,K3,k4,K5,K6,K7,K8,J8,J81,J82
|
92
|
+
|
93
|
+
DIMENSION XE(200000),YE(200000),ZE(200000,2),X0(100000),Y0(100000)
|
94
|
+
|
95
|
+
DIMENSION XI(2000000),YI(2000000),ZI(2000000),A1(100000,4),DZ(100),
|
96
|
+
|
97
|
+
1 Z0(100000,2,2),ZU1(30),ZD1(30)
|
98
|
+
|
99
|
+
REAL*8 PB,QB,Z1,Z2,ZZ0,ZMAX,XX0,YY0 ,P1,P2,P3,XII,YII,A4,A5,A3A
|
100
|
+
|
101
|
+
REAL*8 Z13,Z24,AB1,AB2,AB3,ZMAX1, DZMIN,DEG,XX,YY,XT0,YT0,ZT0
|
102
|
+
|
103
|
+
1 , XT01,YT01,DEG1, ZT01,XSC1,YSC1,DCG1,DZC
|
104
|
+
|
105
|
+
C ================================================== READ OPEN FILE NAME
|
106
|
+
|
107
|
+
C ------------------------------- READ CONTOROL DATA FROM No.5----------
|
108
|
+
|
109
|
+
WRITE (*,102)
|
110
|
+
|
111
|
+
READ (*,25) FNAME5
|
112
|
+
|
113
|
+
C ------------------------------- READ OLD NODE DATA FROM No.8----------
|
114
|
+
|
115
|
+
WRITE (*,101)
|
116
|
+
|
117
|
+
READ (*,25) FNAME6
|
118
|
+
|
119
|
+
C--------------------------------------------------- READ OPEN FILE NAME
|
120
|
+
|
121
|
+
C
|
122
|
+
|
123
|
+
OPEN (5, FILE=FNAME5, STATUS='OLD',FORM='FORMATTED')
|
124
|
+
|
125
|
+
OPEN (6, FILE=FNAME6, STATUS='UNKNOWN',FORM='FORMATTED')
|
126
|
+
|
127
|
+
OPEN (8, FILE="node-n.dat", STATUS='OLD',FORM='FORMATTED')
|
128
|
+
|
129
|
+
C-------------------------------------------------------------------------
|
130
|
+
|
131
|
+
cc READ(5, 25) HED
|
132
|
+
|
133
|
+
C $$$ ---------------------------------------------------------------
|
134
|
+
|
135
|
+
READ(5,*) NUMP1,NUME1,NUMP,NEP, NZ, NM
|
136
|
+
|
137
|
+
WRITE(6,20) NUMP1,NUME1, NUMP,NEP, NZ, NM
|
138
|
+
|
139
|
+
READ(5,*) XT0,YT0,DEG, ZT0
|
140
|
+
|
141
|
+
READ(5,*) XT01,YT01,DEG1, ZT01
|
142
|
+
|
143
|
+
READ(5,*) DZMIN
|
144
|
+
|
145
|
+
20 FORMAT(8I9)
|
146
|
+
|
147
|
+
C----------------------------
|
148
|
+
|
149
|
+
(計算処理部分)
|
150
|
+
|
151
|
+
C----------------------------
|
152
|
+
|
153
|
+
C
|
154
|
+
|
155
|
+
25 FORMAT (A20)
|
156
|
+
|
157
|
+
C
|
158
|
+
|
159
|
+
102 FORMAT (1H0,'== INPUT DATA FILE NAME [ EX. B:DATA1.DAT ] ====> ')
|
160
|
+
|
161
|
+
103 FORMAT (1H0,'== INPUT NODE FILE NAME [ EX. B:DATA2.DAT ] ====> ')
|
162
|
+
|
163
|
+
101 FORMAT (1H0,'=== OUTPUT FILE NAME [ EX. C:UNS1.PRN ] ====> ')
|
164
|
+
|
165
|
+
C
|
166
|
+
|
167
|
+
STOP
|
168
|
+
|
169
|
+
END
|
170
|
+
|
171
|
+
C
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
以上です。
|