This file is indexed.

/usr/lib/petscdir/3.4.2/include/finclude/ftn-auto/petscis.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
499
500
501
502
503
504
505
        subroutine ISBlockSetIndices(is, bs, n, idx, mode ,ierr)
       IS is ! IS
       PetscInt bs ! PetscInt
       PetscInt n ! PetscInt
       PetscInt idx (*) ! PetscInt
       PetscCopyMode mode ! PetscCopyMode
       integer ierr
       end subroutine
        subroutine ISCreateBlock(comm, bs, n, idx, mode, is ,ierr)
       integer comm ! MPI_Comm
       PetscInt bs ! PetscInt
       PetscInt n ! PetscInt
       PetscInt idx (*) ! PetscInt
       PetscCopyMode mode ! PetscCopyMode
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISBlockGetLocalSize(is, size ,ierr)
       IS is ! IS
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine ISBlockGetSize(is, size ,ierr)
       IS is ! IS
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine ISStrideGetInfo(is, first, step ,ierr)
       IS is ! IS
       PetscInt first ! PetscInt
       PetscInt step ! PetscInt
       integer ierr
       end subroutine
        subroutine ISStrideSetStride(is, n, first, step ,ierr)
       IS is ! IS
       PetscInt n ! PetscInt
       PetscInt first ! PetscInt
       PetscInt step ! PetscInt
       integer ierr
       end subroutine
        subroutine ISCreateStride(comm, n, first, step, is ,ierr)
       integer comm ! MPI_Comm
       PetscInt n ! PetscInt
       PetscInt first ! PetscInt
       PetscInt step ! PetscInt
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISIdentity(is, ident ,ierr)
       IS is ! IS
       PetscBool ident ! PetscBool
       integer ierr
       end subroutine
        subroutine ISSetIdentity(is ,ierr)
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISContiguousLocal(is, gstart, gend, start, contig ,  &
     &ierr)
       IS is ! IS
       PetscInt gstart ! PetscInt
       PetscInt gend ! PetscInt
       PetscInt start ! PetscInt
       PetscBool contig ! PetscBool
       integer ierr
       end subroutine
        subroutine ISPermutation(is, perm ,ierr)
       IS is ! IS
       PetscBool perm ! PetscBool
       integer ierr
       end subroutine
        subroutine ISSetPermutation(is ,ierr)
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISDestroy(is ,ierr)
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISInvertPermutation(is, nlocal, isout ,ierr)
       IS is ! IS
       PetscInt nlocal ! PetscInt
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISGetSize(is, size ,ierr)
       IS is ! IS
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine ISGetLocalSize(is, size ,ierr)
       IS is ! IS
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine ISGetNonlocalIS(is, complement ,ierr)
       IS is ! IS
       IS complement ! IS
       integer ierr
       end subroutine
        subroutine ISRestoreNonlocalIS(is, complement ,ierr)
       IS is ! IS
       IS complement ! IS
       integer ierr
       end subroutine
        subroutine ISSort(is ,ierr)
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISToGeneral(is ,ierr)
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISSorted(is, flg ,ierr)
       IS is ! IS
       PetscBool flg ! PetscBool
       integer ierr
       end subroutine
        subroutine ISDuplicate(is, newIS ,ierr)
       IS is ! IS
       IS newIS ! IS
       integer ierr
       end subroutine
        subroutine ISCopy(is, isy ,ierr)
       IS is ! IS
       IS isy ! IS
       integer ierr
       end subroutine
        subroutine ISOnComm(is, comm, mode, newis ,ierr)
       IS is ! IS
       integer comm ! MPI_Comm
       PetscCopyMode mode ! PetscCopyMode
       IS newis ! IS
       integer ierr
       end subroutine
        subroutine ISSetBlockSize(is, bs ,ierr)
       IS is ! IS
       PetscInt bs ! PetscInt
       integer ierr
       end subroutine
        subroutine ISGetBlockSize(is, size ,ierr)
       IS is ! IS
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine ISCreate(comm, is ,ierr)
       integer comm ! MPI_Comm
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISCreateGeneral(comm, n, idx, mode, is ,ierr)
       integer comm ! MPI_Comm
       PetscInt n ! PetscInt
       PetscInt idx (*) ! PetscInt
       PetscCopyMode mode ! PetscCopyMode
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISGeneralSetIndices(is, n, idx, mode ,ierr)
       IS is ! IS
       PetscInt n ! PetscInt
       PetscInt idx (*) ! PetscInt
       PetscCopyMode mode ! PetscCopyMode
       integer ierr
       end subroutine
        subroutine PetscSectionCreate(comm, s ,ierr)
       integer comm ! MPI_Comm
       PetscSection s ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionClone(section, newSection ,ierr)
       PetscSection section ! PetscSection
       PetscSection newSection ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionGetNumFields(s, numFields ,ierr)
       PetscSection s ! PetscSection
       PetscInt numFields ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetNumFields(s, numFields ,ierr)
       PetscSection s ! PetscSection
       PetscInt numFields ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetFieldComponents(s, field, numComp ,   &
     &ierr)
       PetscSection s ! PetscSection
       PetscInt field ! PetscInt
       PetscInt numComp ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetFieldComponents(s, field, numComp ,   &
     &ierr)
       PetscSection s ! PetscSection
       PetscInt field ! PetscInt
       PetscInt numComp ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetChart(s, pStart, pEnd ,ierr)
       PetscSection s ! PetscSection
       PetscInt pStart ! PetscInt
       PetscInt pEnd ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetChart(s, pStart, pEnd ,ierr)
       PetscSection s ! PetscSection
       PetscInt pStart ! PetscInt
       PetscInt pEnd ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionAddDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetFieldDof(s, point, field, numDof ,ierr&
     &)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetFieldDof(s, point, field, numDof ,ierr&
     &)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionAddFieldDof(s, point, field, numDof ,ierr&
     &)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetConstraintDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetConstraintDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionAddConstraintDof(s, point, numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetFieldConstraintDof(s, point, field,   &
     &numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetFieldConstraintDof(s, point, field,   &
     &numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionAddFieldConstraintDof(s, point, field,   &
     &numDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt numDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetUp(s ,ierr)
       PetscSection s ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionGetMaxDof(s, maxDof ,ierr)
       PetscSection s ! PetscSection
       PetscInt maxDof ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetStorageSize(s, size ,ierr)
       PetscSection s ! PetscSection
       PetscInt size ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionCreateGlobalSection(s, sf,               &
     &includeConstraints, gsection ,ierr)
       PetscSection s ! PetscSection
       PetscSF sf ! PetscSF
       PetscBool includeConstraints ! PetscBool
       PetscSection gsection ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionCreateGlobalSectionCensored(s, sf,       &
     &includeConstraints, numExcludes, excludes, gsection ,ierr)
       PetscSection s ! PetscSection
       PetscSF sf ! PetscSF
       PetscBool includeConstraints ! PetscBool
       PetscInt numExcludes ! PetscInt
       PetscInt excludes (*) ! PetscInt
       PetscSection gsection ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionGetOffset(s, point, offset ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt offset ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetOffset(s, point, offset ,ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt offset ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetFieldOffset(s, point, field, offset , &
     &ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt offset ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionSetFieldOffset(s, point, field, offset , &
     &ierr)
       PetscSection s ! PetscSection
       PetscInt point ! PetscInt
       PetscInt field ! PetscInt
       PetscInt offset ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionGetOffsetRange(s, start, end ,ierr)
       PetscSection s ! PetscSection
       PetscInt start ! PetscInt
       PetscInt end ! PetscInt
       integer ierr
       end subroutine
        subroutine PetscSectionReset(s ,ierr)
       PetscSection s ! PetscSection
       integer ierr
       end subroutine
        subroutine PetscSectionDestroy(s ,ierr)
       PetscSection s ! PetscSection
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingCreateIS(is, mapping ,ierr)
       IS is ! IS
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingCreate(cm, n, indices, mode,   &
     &mapping ,ierr)
       integer cm ! MPI_Comm
       PetscInt n ! PetscInt
       PetscInt indices (*) ! PetscInt
       PetscCopyMode mode ! PetscCopyMode
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingBlock(inmap, bs, outmap ,ierr)
       ISLocalToGlobalMapping inmap ! ISLocalToGlobalMapping
       PetscInt bs ! PetscInt
       ISLocalToGlobalMapping outmap ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingUnBlock(inmap, bs, outmap ,ierr&
     &)
       ISLocalToGlobalMapping inmap ! ISLocalToGlobalMapping
       PetscInt bs ! PetscInt
       ISLocalToGlobalMapping outmap ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingDestroy(mapping ,ierr)
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingApplyIS(mapping, is, newis ,   &
     &ierr)
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       IS is ! IS
       IS newis ! IS
       integer ierr
       end subroutine
        subroutine ISLocalToGlobalMappingApply(mapping, N, in, out ,ierr&
     &)
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       PetscInt N ! PetscInt
       PetscInt in (*) ! PetscInt
       PetscInt out (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine ISGlobalToLocalMappingApply(mapping, type, n, idx,   &
     &nout, idxout ,ierr)
       ISLocalToGlobalMapping mapping ! ISLocalToGlobalMapping
       ISGlobalToLocalMappingType type ! ISGlobalToLocalMappingType
       PetscInt n ! PetscInt
       PetscInt idx (*) ! PetscInt
       PetscInt nout ! PetscInt
       PetscInt idxout (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine ISColoringDestroy(iscoloring ,ierr)
       ISColoring iscoloring ! ISColoring
       integer ierr
       end subroutine
        subroutine ISPartitioningToNumbering(part, is ,ierr)
       IS part ! IS
       IS is ! IS
       integer ierr
       end subroutine
        subroutine ISPartitioningCount(part, len, count ,ierr)
       IS part ! IS
       PetscInt len ! PetscInt
       PetscInt count (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine ISAllGather(is, isout ,ierr)
       IS is ! IS
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISComplement(is, nmin, nmax, isout ,ierr)
       IS is ! IS
       PetscInt nmin ! PetscInt
       PetscInt nmax ! PetscInt
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISEqual(is1, is2, flg ,ierr)
       IS is1 ! IS
       IS is2 ! IS
       PetscBool flg ! PetscBool
       integer ierr
       end subroutine
        subroutine ISDifference(is1, is2, isout ,ierr)
       IS is1 ! IS
       IS is2 ! IS
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISSum(is1, is2, is3 ,ierr)
       IS is1 ! IS
       IS is2 ! IS
       IS is3 ! IS
       integer ierr
       end subroutine
        subroutine ISExpand(is1, is2, isout ,ierr)
       IS is1 ! IS
       IS is2 ! IS
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISConcatenate(comm, len, islist, isout ,ierr)
       integer comm ! MPI_Comm
       PetscInt len ! PetscInt
       IS islist (*) ! IS
       IS isout ! IS
       integer ierr
       end subroutine
        subroutine ISListToPair(comm, listlen, islist, xis, yis ,ierr)
       integer comm ! MPI_Comm
       PetscInt listlen ! PetscInt
       IS islist (*) ! IS
       IS xis ! IS
       IS yis ! IS
       integer ierr
       end subroutine
        subroutine ISPairToList(xis, yis, listlen, islist ,ierr)
       IS xis ! IS
       IS yis ! IS
       PetscInt listlen ! PetscInt
       IS islist ! IS
       integer ierr
       end subroutine
        subroutine ISEmbed(a, b, drop, c ,ierr)
       IS a ! IS
       IS b ! IS
       PetscBool drop ! PetscBool
       IS c ! IS
       integer ierr
       end subroutine