This file is indexed.

/usr/lib/petscdir/3.1/include/finclude/ftn-auto/petscpc.h90 is in libpetsc3.1-dev 3.1.dfsg-11ubuntu1.

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
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
        subroutine PCRegisterDestroy(ierr)
       integer ierr
       end subroutine
        subroutine PCSetFromOptions(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCDestroy(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCDiagonalScaleSet(pc, s ,ierr)
       PC pc ! PC
       Vec s ! Vec
       integer ierr
       end subroutine
        subroutine PCDiagonalScaleLeft(pc, in, out ,ierr)
       PC pc ! PC
       Vec in ! Vec
       Vec out ! Vec
       integer ierr
       end subroutine
        subroutine PCDiagonalScaleRight(pc, in, out ,ierr)
       PC pc ! PC
       Vec in ! Vec
       Vec out ! Vec
       integer ierr
       end subroutine
        subroutine PCCreate(comm, newpc ,ierr)
       integer comm ! MPI_Comm
       PC newpc ! PC
       integer ierr
       end subroutine
        subroutine PCApply(pc, x, y ,ierr)
       PC pc ! PC
       Vec x ! Vec
       Vec y ! Vec
       integer ierr
       end subroutine
        subroutine PCApplySymmetricLeft(pc, x, y ,ierr)
       PC pc ! PC
       Vec x ! Vec
       Vec y ! Vec
       integer ierr
       end subroutine
        subroutine PCApplySymmetricRight(pc, x, y ,ierr)
       PC pc ! PC
       Vec x ! Vec
       Vec y ! Vec
       integer ierr
       end subroutine
        subroutine PCApplyTranspose(pc, x, y ,ierr)
       PC pc ! PC
       Vec x ! Vec
       Vec y ! Vec
       integer ierr
       end subroutine
        subroutine PCApplyTransposeExists(pc, flg ,ierr)
       PC pc ! PC
       PetscTruth flg ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCApplyBAorAB(pc, side, x, y, work ,ierr)
       PC pc ! PC
       PCSide side ! PCSide
       Vec x ! Vec
       Vec y ! Vec
       Vec work ! Vec
       integer ierr
       end subroutine
        subroutine PCApplyBAorABTranspose(pc, side, x, y, work ,ierr)
       PC pc ! PC
       PCSide side ! PCSide
       Vec x ! Vec
       Vec y ! Vec
       Vec work ! Vec
       integer ierr
       end subroutine
        subroutine PCApplyRichardsonExists(pc, exists ,ierr)
       PC pc ! PC
       PetscTruth exists ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCApplyRichardson(pc, b, y, w, rtol, abstol, dtol,   &
     &its, guesszero, outits, reason ,ierr)
       PC pc ! PC
       Vec b ! Vec
       Vec y ! Vec
       Vec w ! Vec
       PetscReal rtol ! PetscReal
       PetscReal abstol ! PetscReal
       PetscReal dtol ! PetscReal
       PetscInt its ! PetscInt
       PetscTruth guesszero ! PetscTruth
       PetscInt outits ! PetscInt
       PCRichardsonConvergedReason reason ! PCRichardsonConvergedReason
       integer ierr
       end subroutine
        subroutine PCSetUp(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCSetUpOnBlocks(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCSetOperators(pc, Amat, Pmat, flag ,ierr)
       PC pc ! PC
       Mat Amat ! Mat
       Mat Pmat ! Mat
       MatStructure flag ! MatStructure
       integer ierr
       end subroutine
        subroutine PCFactorGetMatrix(pc, mat ,ierr)
       PC pc ! PC
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine PCPreSolve(pc, ksp ,ierr)
       PC pc ! PC
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCPostSolve(pc, ksp ,ierr)
       PC pc ! PC
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCSetInitialGuessNonzero(pc, flg ,ierr)
       PC pc ! PC
       PetscTruth flg ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCComputeExplicitOperator(pc, mat ,ierr)
       PC pc ! PC
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine PCSetCoordinates(pc, dim, coords ,ierr)
       PC pc ! PC
       PetscInt dim ! PetscInt
       PetscReal coords ! PetscReal
       integer ierr
       end subroutine
        subroutine PCSASetVectors(pc, nvects, vects ,ierr)
       PC pc ! PC
       PetscInt nvects ! PetscInt
       PetscReal vects ! PetscReal
       integer ierr
       end subroutine
        subroutine PCSPAISetEpsilon(pc, epsilon1 ,ierr)
       PC pc ! PC
       double precision epsilon1 ! double
       integer ierr
       end subroutine
        subroutine PCSPAISetNBSteps(pc, nbsteps1 ,ierr)
       PC pc ! PC
       integer nbsteps1 ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetMax(pc, max1 ,ierr)
       PC pc ! PC
       integer max1 ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetMaxNew(pc, maxnew1 ,ierr)
       PC pc ! PC
       integer maxnew1 ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetBlockSize(pc, block_size1 ,ierr)
       PC pc ! PC
       integer block_size1 ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetCacheSize(pc, cache_size ,ierr)
       PC pc ! PC
       integer cache_size ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetVerbose(pc, verbose ,ierr)
       PC pc ! PC
       integer verbose ! int
       integer ierr
       end subroutine
        subroutine PCSPAISetSp(pc, sp ,ierr)
       PC pc ! PC
       integer sp ! int
       integer ierr
       end subroutine
        subroutine PCCompositeSetType(pc, type ,ierr)
       PC pc ! PC
       PCCompositeType type ! PCCompositeType
       integer ierr
       end subroutine
        subroutine PCCompositeSpecialSetAlpha(pc, alpha ,ierr)
       PC pc ! PC
       PetscScalar alpha ! PetscScalar
       integer ierr
       end subroutine
        subroutine PCCompositeGetPC(pc, n, subpc ,ierr)
       PC pc ! PC
       PetscInt n ! PetscInt
       PC subpc ! PC
       integer ierr
       end subroutine
        subroutine PCCompositeSetUseTrue(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCMGGetCoarseSolve(pc, ksp ,ierr)
       PC pc ! PC
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCMGSetInterpolation(pc, l, mat ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine PCMGSetRestriction(pc, l, mat ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine PCMGGetSmoother(pc, l, ksp ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCMGGetSmootherUp(pc, l, ksp ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCMGGetSmootherDown(pc, l, ksp ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCMGSetCyclesOnLevel(pc, l, c ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       PetscInt c ! PetscInt
       integer ierr
       end subroutine
        subroutine PCMGSetRhs(pc, l, c ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine PCMGSetX(pc, l, c ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine PCMGSetR(pc, l, c ,ierr)
       PC pc ! PC
       PetscInt l ! PetscInt
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine PCMGGetLevels(pc, levels ,ierr)
       PC pc ! PC
       PetscInt levels ! PetscInt
       integer ierr
       end subroutine
        subroutine PCMGSetType(pc, form ,ierr)
       PC pc ! PC
       PCMGType form ! PCMGType
       integer ierr
       end subroutine
        subroutine PCMGSetCycleType(pc, n ,ierr)
       PC pc ! PC
       PCMGCycleType n ! PCMGCycleType
       integer ierr
       end subroutine
        subroutine PCMGMultiplicativeSetCycles(pc, n ,ierr)
       PC pc ! PC
       PetscInt n ! PetscInt
       integer ierr
       end subroutine
        subroutine PCMGSetGalerkin(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCMGGetGalerkin(pc, galerkin ,ierr)
       PC pc ! PC
       PetscTruth galerkin ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCMGSetNumberSmoothDown(pc, n ,ierr)
       PC pc ! PC
       PetscInt n ! PetscInt
       integer ierr
       end subroutine
        subroutine PCMGSetNumberSmoothUp(pc, n ,ierr)
       PC pc ! PC
       PetscInt n ! PetscInt
       integer ierr
       end subroutine
        subroutine PCEisenstatSetOmega(pc, omega ,ierr)
       PC pc ! PC
       PetscReal omega ! PetscReal
       integer ierr
       end subroutine
        subroutine PCEisenstatNoDiagonalScaling(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCRedundantSetNumber(pc, nredundant ,ierr)
       PC pc ! PC
       PetscInt nredundant ! PetscInt
       integer ierr
       end subroutine
        subroutine PCRedundantSetScatter(pc, in, out ,ierr)
       PC pc ! PC
       VecScatter in ! VecScatter
       VecScatter out ! VecScatter
       integer ierr
       end subroutine
        subroutine PCRedundantGetPC(pc, innerpc ,ierr)
       PC pc ! PC
       PC innerpc ! PC
       integer ierr
       end subroutine
        subroutine PCRedundantGetOperators(pc, mat, pmat ,ierr)
       PC pc ! PC
       Mat mat ! Mat
       Mat pmat ! Mat
       integer ierr
       end subroutine
        subroutine PCGalerkinSetRestriction(pc, R ,ierr)
       PC pc ! PC
       Mat R ! Mat
       integer ierr
       end subroutine
        subroutine PCGalerkinSetInterpolation(pc, P ,ierr)
       PC pc ! PC
       Mat P ! Mat
       integer ierr
       end subroutine
        subroutine PCGalerkinGetKSP(pc, ksp ,ierr)
       PC pc ! PC
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCFactorSetZeroPivot(pc, zero ,ierr)
       PC pc ! PC
       PetscReal zero ! PetscReal
       integer ierr
       end subroutine
        subroutine PCFactorSetShiftType(pc, shifttype ,ierr)
       PC pc ! PC
       MatFactorShiftType shifttype ! MatFactorShiftType
       integer ierr
       end subroutine
        subroutine PCFactorSetShiftAmount(pc, shiftamount ,ierr)
       PC pc ! PC
       PetscReal shiftamount ! PetscReal
       integer ierr
       end subroutine
        subroutine PCFactorSetLevels(pc, levels ,ierr)
       PC pc ! PC
       PetscInt levels ! PetscInt
       integer ierr
       end subroutine
        subroutine PCFactorSetAllowDiagonalFill(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCFactorReorderForNonzeroDiagonal(pc, rtol ,ierr)
       PC pc ! PC
       PetscReal rtol ! PetscReal
       integer ierr
       end subroutine
        subroutine PCFactorSetFill(pc, fill ,ierr)
       PC pc ! PC
       PetscReal fill ! PetscReal
       integer ierr
       end subroutine
        subroutine PCFactorSetUseInPlace(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCFactorSetColumnPivot(pc, dtcol ,ierr)
       PC pc ! PC
       PetscReal dtcol ! PetscReal
       integer ierr
       end subroutine
        subroutine PCFactorSetPivotInBlocks(pc, pivot ,ierr)
       PC pc ! PC
       PetscTruth pivot ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCFactorSetReuseFill(pc, flag ,ierr)
       PC pc ! PC
       PetscTruth flag ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCFactorSetReuseOrdering(pc, flag ,ierr)
       PC pc ! PC
       PetscTruth flag ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCExoticSetType(pc, type ,ierr)
       PC pc ! PC
       PCExoticType type ! PCExoticType
       integer ierr
       end subroutine
        subroutine PCSetDA(pc, da ,ierr)
       PC pc ! PC
       DA da ! DA
       integer ierr
       end subroutine
        subroutine PCASMSetOverlap(pc, ovl ,ierr)
       PC pc ! PC
       PetscInt ovl ! PetscInt
       integer ierr
       end subroutine
        subroutine PCASMSetType(pc, type ,ierr)
       PC pc ! PC
       PCASMType type ! PCASMType
       integer ierr
       end subroutine
        subroutine PCASMSetSortIndices(pc, doSort ,ierr)
       PC pc ! PC
       PetscTruth doSort ! PetscTruth
       integer ierr
       end subroutine
        subroutine PCASMCreateSubdomains2D(m, n, mupper, nupper, dof,   &
     &overlap, Nsub, is ,ierr)
       PetscInt m ! PetscInt
       PetscInt n ! PetscInt
       PetscInt mupper ! PetscInt
       PetscInt nupper ! PetscInt
       PetscInt dof ! PetscInt
       PetscInt overlap ! PetscInt
       PetscInt Nsub ! PetscInt
       IS is ! IS
       integer ierr
       end subroutine
        subroutine PCFieldSplitSetFields(pc, n, fields ,ierr)
       PC pc ! PC
       PetscInt n ! PetscInt
       PetscInt fields ! PetscInt
       integer ierr
       end subroutine
        subroutine PCFieldSplitSetIS(pc, is ,ierr)
       PC pc ! PC
       IS is ! IS
       integer ierr
       end subroutine
        subroutine PCFieldSplitSetBlockSize(pc, bs ,ierr)
       PC pc ! PC
       PetscInt bs ! PetscInt
       integer ierr
       end subroutine
        subroutine PCFieldSplitSchurPrecondition(pc, ptype, pre ,ierr)
       PC pc ! PC
       PCFieldSplitSchurPreType ptype ! PCFieldSplitSchurPreType
       Mat pre ! Mat
       integer ierr
       end subroutine
        subroutine PCFieldSplitSetType(pc, type ,ierr)
       PC pc ! PC
       PCCompositeType type ! PCCompositeType
       integer ierr
       end subroutine
        subroutine PCKSPSetUseTrue(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCKSPGetKSP(pc, ksp ,ierr)
       PC pc ! PC
       KSP ksp ! KSP
       integer ierr
       end subroutine
        subroutine PCShellSetContext(pc, ctx ,ierr)
       PC pc ! PC
       PetscVoid ctx ! void
       integer ierr
       end subroutine
        subroutine PCBJacobiSetUseTrueLocal(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCBJacobiSetTotalBlocks(pc, blocks, lens ,ierr)
       PC pc ! PC
       PetscInt blocks ! PetscInt
       PetscInt lens (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine PCBJacobiSetLocalBlocks(pc, blocks, lens ,ierr)
       PC pc ! PC
       PetscInt blocks ! PetscInt
       PetscInt lens (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine PCSORSetSymmetric(pc, flag ,ierr)
       PC pc ! PC
       MatSORType flag ! MatSORType
       integer ierr
       end subroutine
        subroutine PCSORSetOmega(pc, omega ,ierr)
       PC pc ! PC
       PetscReal omega ! PetscReal
       integer ierr
       end subroutine
        subroutine PCSORSetIterations(pc, its, lits ,ierr)
       PC pc ! PC
       PetscInt its ! PetscInt
       PetscInt lits ! PetscInt
       integer ierr
       end subroutine
        subroutine PCJacobiSetUseAbs(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCJacobiSetUseRowMax(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine
        subroutine PCJacobiSetUseRowSum(pc ,ierr)
       PC pc ! PC
       integer ierr
       end subroutine