This file is indexed.

/usr/lib/petscdir/3.4.2/include/finclude/ftn-auto/petscts.h90 is in libpetsc3.4.2-dev 3.4.2.dfsg1-8.1+b1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
        subroutine TSRKSetTolerance(ts, aabs ,ierr)
       TS ts ! TS
       PetscReal aabs ! PetscReal
       integer ierr
       end subroutine
        subroutine TSAlphaSetRadius(ts, radius ,ierr)
       TS ts ! TS
       PetscReal radius ! PetscReal
       integer ierr
       end subroutine
        subroutine TSAlphaSetParams(ts, alpha_m, alpha_f, gamma ,ierr)
       TS ts ! TS
       PetscReal alpha_m ! PetscReal
       PetscReal alpha_f ! PetscReal
       PetscReal gamma ! PetscReal
       integer ierr
       end subroutine
        subroutine TSAlphaGetParams(ts, alpha_m, alpha_f, gamma ,ierr)
       TS ts ! TS
       PetscReal alpha_m ! PetscReal
       PetscReal alpha_f ! PetscReal
       PetscReal gamma ! PetscReal
       integer ierr
       end subroutine
        subroutine TSThetaGetTheta(ts, theta ,ierr)
       TS ts ! TS
       PetscReal theta ! PetscReal
       integer ierr
       end subroutine
        subroutine TSThetaSetTheta(ts, theta ,ierr)
       TS ts ! TS
       PetscReal theta ! PetscReal
       integer ierr
       end subroutine
        subroutine TSThetaGetEndpoint(ts, endpoint ,ierr)
       TS ts ! TS
       PetscBool endpoint ! PetscBool
       integer ierr
       end subroutine
        subroutine TSThetaSetEndpoint(ts, flg ,ierr)
       TS ts ! TS
       PetscBool flg ! PetscBool
       integer ierr
       end subroutine
        subroutine TSSSPSetNumStages(ts, nstages ,ierr)
       TS ts ! TS
       PetscInt nstages ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSSPGetNumStages(ts, nstages ,ierr)
       TS ts ! TS
       PetscInt nstages ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSundialsSetType(ts, type ,ierr)
       TS ts ! TS
       TSSundialsLmmType type ! TSSundialsLmmType
       integer ierr
       end subroutine
        subroutine TSSundialsSetMaxl(ts, maxl ,ierr)
       TS ts ! TS
       PetscInt maxl ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSundialsSetLinearTolerance(ts, tol ,ierr)
       TS ts ! TS
       double precision tol ! double
       integer ierr
       end subroutine
        subroutine TSSundialsSetGramSchmidtType(ts, type ,ierr)
       TS ts ! TS
       TSSundialsGramSchmidtType type ! TSSundialsGramSchmidtType
       integer ierr
       end subroutine
        subroutine TSSundialsSetTolerance(ts, aabs, rel ,ierr)
       TS ts ! TS
       double precision aabs ! double
       double precision rel ! double
       integer ierr
       end subroutine
        subroutine TSSundialsGetPC(ts, pc ,ierr)
       TS ts ! TS
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine TSSundialsSetMinTimeStep(ts, mindt ,ierr)
       TS ts ! TS
       PetscReal mindt ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSundialsSetMaxTimeStep(ts, maxdt ,ierr)
       TS ts ! TS
       PetscReal maxdt ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSundialsMonitorInternalSteps(ts, ft ,ierr)
       TS ts ! TS
       PetscBool ft ! PetscBool
       integer ierr
       end subroutine
        subroutine TSPseudoVerifyTimeStep(ts, update, dt, flag ,ierr)
       TS ts ! TS
       Vec update ! Vec
       PetscReal dt ! PetscReal
       PetscBool flag ! PetscBool
       integer ierr
       end subroutine
        subroutine TSPseudoSetTimeStepIncrement(ts, inc ,ierr)
       TS ts ! TS
       PetscReal inc ! PetscReal
       integer ierr
       end subroutine
        subroutine TSPseudoSetMaxTimeStep(ts, maxdt ,ierr)
       TS ts ! TS
       PetscReal maxdt ! PetscReal
       integer ierr
       end subroutine
        subroutine TSPseudoIncrementDtFromInitialDt(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSAdaptSetMonitor(adapt, flg ,ierr)
       TSAdapt adapt ! TSAdapt
       PetscBool flg ! PetscBool
       integer ierr
       end subroutine
        subroutine TSAdaptSetStepLimits(adapt, hmin, hmax ,ierr)
       TSAdapt adapt ! TSAdapt
       PetscReal hmin ! PetscReal
       PetscReal hmax ! PetscReal
       integer ierr
       end subroutine
        subroutine TSAdaptSetFromOptions(adapt ,ierr)
       TSAdapt adapt ! TSAdapt
       integer ierr
       end subroutine
        subroutine TSAdaptCandidatesClear(adapt ,ierr)
       TSAdapt adapt ! TSAdapt
       integer ierr
       end subroutine
        subroutine TSAdaptCheckStage(adapt, ts, accept ,ierr)
       TSAdapt adapt ! TSAdapt
       TS ts ! TS
       PetscBool accept ! PetscBool
       integer ierr
       end subroutine
        subroutine TSAdaptCreate(comm, inadapt ,ierr)
       integer comm ! MPI_Comm
       TSAdapt inadapt ! TSAdapt
       integer ierr
       end subroutine
        subroutine TSSetFromOptions(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSComputeRHSJacobian(ts, t, U, A, B, flg ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       Mat A ! Mat
       Mat B ! Mat
       MatStructure flg ! MatStructure
       integer ierr
       end subroutine
        subroutine TSComputeRHSFunction(ts, t, U, y ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       Vec y ! Vec
       integer ierr
       end subroutine
        subroutine TSComputeSolutionFunction(ts, t, U ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       integer ierr
       end subroutine
        subroutine TSComputeForcingFunction(ts, t, U ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       integer ierr
       end subroutine
        subroutine TSComputeIFunction(ts, t, U, Udot, Y, imex ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       Vec Udot ! Vec
       Vec Y ! Vec
       PetscBool imex ! PetscBool
       integer ierr
       end subroutine
        subroutine TSComputeIJacobian(ts, t, U, Udot, shift, A, B, flg, &
     &imex ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       Vec Udot ! Vec
       PetscReal shift ! PetscReal
       Mat A ! Mat
       Mat B ! Mat
       MatStructure flg ! MatStructure
       PetscBool imex ! PetscBool
       integer ierr
       end subroutine
        subroutine TSSetApplicationContext(ts, usrP ,ierr)
       TS ts ! TS
       PetscVoid usrP ! void
       integer ierr
       end subroutine
        subroutine TSGetApplicationContext(ts, usrP ,ierr)
       TS ts ! TS
       PetscVoid usrP ! void
       integer ierr
       end subroutine
        subroutine TSGetTimeStepNumber(ts, iter ,ierr)
       TS ts ! TS
       PetscInt iter ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSetInitialTimeStep(ts, initial_time, time_step ,   &
     &ierr)
       TS ts ! TS
       PetscReal initial_time ! PetscReal
       PetscReal time_step ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetTimeStep(ts, time_step ,ierr)
       TS ts ! TS
       PetscReal time_step ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetExactFinalTime(ts, eftopt ,ierr)
       TS ts ! TS
       TSExactFinalTimeOption eftopt ! TSExactFinalTimeOption
       integer ierr
       end subroutine
        subroutine TSGetTimeStep(ts, dt ,ierr)
       TS ts ! TS
       PetscReal dt ! PetscReal
       integer ierr
       end subroutine
        subroutine TSGetSolution(ts, v ,ierr)
       TS ts ! TS
       Vec v ! Vec
       integer ierr
       end subroutine
        subroutine TSSetProblemType(ts, type ,ierr)
       TS ts ! TS
       TSProblemType type ! TSProblemType
       integer ierr
       end subroutine
        subroutine TSSetUp(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSReset(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSDestroy(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSGetSNES(ts, snes ,ierr)
       TS ts ! TS
       SNES snes ! SNES
       integer ierr
       end subroutine
        subroutine TSSetSNES(ts, snes ,ierr)
       TS ts ! TS
       SNES snes ! SNES
       integer ierr
       end subroutine
        subroutine TSGetKSP(ts, ksp ,ierr)
       TS ts ! TS
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine TSGetDuration(ts, maxsteps, maxtime ,ierr)
       TS ts ! TS
       PetscInt maxsteps ! PetscInt
       PetscReal maxtime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetDuration(ts, maxsteps, maxtime ,ierr)
       TS ts ! TS
       PetscInt maxsteps ! PetscInt
       PetscReal maxtime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetSolution(ts, u ,ierr)
       TS ts ! TS
       Vec u ! Vec
       integer ierr
       end subroutine
        subroutine TSPreStep(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSPreStage(ts, stagetime ,ierr)
       TS ts ! TS
       PetscReal stagetime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSPostStep(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSMonitorDefault(ts, step, ptime, v, dummy ,ierr)
       TS ts ! TS
       PetscInt step ! PetscInt
       PetscReal ptime ! PetscReal
       Vec v ! Vec
       PetscVoid dummy ! void
       integer ierr
       end subroutine
        subroutine TSSetRetainStages(ts, flg ,ierr)
       TS ts ! TS
       PetscBool flg ! PetscBool
       integer ierr
       end subroutine
        subroutine TSInterpolate(ts, t, U ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       Vec U ! Vec
       integer ierr
       end subroutine
        subroutine TSStep(ts ,ierr)
       TS ts ! TS
       integer ierr
       end subroutine
        subroutine TSEvaluateStep(ts, order, U, done ,ierr)
       TS ts ! TS
       PetscInt order ! PetscInt
       Vec U ! Vec
       PetscBool done ! PetscBool
       integer ierr
       end subroutine
        subroutine TSSolve(ts, u ,ierr)
       TS ts ! TS
       Vec u ! Vec
       integer ierr
       end subroutine
        subroutine TSMonitor(ts, step, ptime, u ,ierr)
       TS ts ! TS
       PetscInt step ! PetscInt
       PetscReal ptime ! PetscReal
       Vec u ! Vec
       integer ierr
       end subroutine
        subroutine TSGetTime(ts, t ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetTime(ts, t ,ierr)
       TS ts ! TS
       PetscReal t ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetDM(ts, dm ,ierr)
       TS ts ! TS
       DM dm ! DM
       integer ierr
       end subroutine
        subroutine TSGetDM(ts, dm ,ierr)
       TS ts ! TS
       DM dm ! DM
       integer ierr
       end subroutine
        subroutine SNESTSFormFunction(snes, U, F, ctx ,ierr)
       SNES snes ! SNES
       Vec U ! Vec
       Vec F ! Vec
       PetscVoid ctx ! void
       integer ierr
       end subroutine
        subroutine SNESTSFormJacobian(snes, U, A, B, flag, ctx ,ierr)
       SNES snes ! SNES
       Vec U ! Vec
       Mat A ! Mat
       Mat B ! Mat
       MatStructure flag ! MatStructure
       PetscVoid ctx ! void
       integer ierr
       end subroutine
        subroutine TSGetEquationType(ts, equation_type ,ierr)
       TS ts ! TS
       TSEquationType equation_type ! TSEquationType
       integer ierr
       end subroutine
        subroutine TSSetEquationType(ts, equation_type ,ierr)
       TS ts ! TS
       TSEquationType equation_type ! TSEquationType
       integer ierr
       end subroutine
        subroutine TSGetConvergedReason(ts, reason ,ierr)
       TS ts ! TS
       TSConvergedReason reason ! TSConvergedReason
       integer ierr
       end subroutine
        subroutine TSSetConvergedReason(ts, reason ,ierr)
       TS ts ! TS
       TSConvergedReason reason ! TSConvergedReason
       integer ierr
       end subroutine
        subroutine TSGetSolveTime(ts, ftime ,ierr)
       TS ts ! TS
       PetscReal ftime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSGetSNESIterations(ts, nits ,ierr)
       TS ts ! TS
       PetscInt nits ! PetscInt
       integer ierr
       end subroutine
        subroutine TSGetKSPIterations(ts, lits ,ierr)
       TS ts ! TS
       PetscInt lits ! PetscInt
       integer ierr
       end subroutine
        subroutine TSGetStepRejections(ts, rejects ,ierr)
       TS ts ! TS
       PetscInt rejects ! PetscInt
       integer ierr
       end subroutine
        subroutine TSGetSNESFailures(ts, fails ,ierr)
       TS ts ! TS
       PetscInt fails ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSetMaxStepRejections(ts, rejects ,ierr)
       TS ts ! TS
       PetscInt rejects ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSetMaxSNESFailures(ts, fails ,ierr)
       TS ts ! TS
       PetscInt fails ! PetscInt
       integer ierr
       end subroutine
        subroutine TSSetErrorIfStepFails(ts, err ,ierr)
       TS ts ! TS
       PetscBool err ! PetscBool
       integer ierr
       end subroutine
        subroutine TSGetAdapt(ts, adapt ,ierr)
       TS ts ! TS
       TSAdapt adapt ! TSAdapt
       integer ierr
       end subroutine
        subroutine TSSetTolerances(ts, atol, vatol, rtol, vrtol ,ierr)
       TS ts ! TS
       PetscReal atol ! PetscReal
       Vec vatol ! Vec
       PetscReal rtol ! PetscReal
       Vec vrtol ! Vec
       integer ierr
       end subroutine
        subroutine TSGetTolerances(ts, atol, vatol, rtol, vrtol ,ierr)
       TS ts ! TS
       PetscReal atol ! PetscReal
       Vec vatol ! Vec
       PetscReal rtol ! PetscReal
       Vec vrtol ! Vec
       integer ierr
       end subroutine
        subroutine TSErrorNormWRMS(ts, Y, norm ,ierr)
       TS ts ! TS
       Vec Y ! Vec
       PetscReal norm ! PetscReal
       integer ierr
       end subroutine
        subroutine TSSetCFLTimeLocal(ts, cfltime ,ierr)
       TS ts ! TS
       PetscReal cfltime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSGetCFLTime(ts, cfltime ,ierr)
       TS ts ! TS
       PetscReal cfltime ! PetscReal
       integer ierr
       end subroutine
        subroutine TSVISetVariableBounds(ts, xl, xu ,ierr)
       TS ts ! TS
       Vec xl ! Vec
       Vec xu ! Vec
       integer ierr
       end subroutine
        subroutine TSComputeLinearStability(ts, xr, xi, yr, yi ,ierr)
       TS ts ! TS
       PetscReal xr ! PetscReal
       PetscReal xi ! PetscReal
       PetscReal yr ! PetscReal
       PetscReal yi ! PetscReal
       integer ierr
       end subroutine