This file is indexed.

/usr/lib/petscdir/3.1/include/finclude/ftn-auto/petscda.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
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
        subroutine DACreateGlobalVector(da, g ,ierr)
       DA da ! DA
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DACreateNaturalVector(da, g ,ierr)
       DA da ! DA
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DALocalToLocalBegin(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DALocalToLocalEnd(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DASetCoordinates(da, c ,ierr)
       DA da ! DA
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine DAGetCoordinates(da, c ,ierr)
       DA da ! DA
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine DAGetCoordinateDA(da, cda ,ierr)
       DA da ! DA
       DA cda ! DA
       integer ierr
       end subroutine
        subroutine DAGetGhostedCoordinates(da, c ,ierr)
       DA da ! DA
       Vec c ! Vec
       integer ierr
       end subroutine
        subroutine DAGetCorners(da, x, y, z, m, n, p ,ierr)
       DA da ! DA
       PetscInt x ! PetscInt
       PetscInt y ! PetscInt
       PetscInt z ! PetscInt
       PetscInt m ! PetscInt
       PetscInt n ! PetscInt
       PetscInt p ! PetscInt
       integer ierr
       end subroutine
        subroutine DAGetLocalBoundingBox(da, lmin, lmax ,ierr)
       DA da ! DA
       PetscReal lmin (*) ! PetscReal
       PetscReal lmax (*) ! PetscReal
       integer ierr
       end subroutine
        subroutine DAGetBoundingBox(da, gmin, gmax ,ierr)
       DA da ! DA
       PetscReal gmin (*) ! PetscReal
       PetscReal gmax (*) ! PetscReal
       integer ierr
       end subroutine
        subroutine DACreateLocalVector(da, g ,ierr)
       DA da ! DA
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DMGetLocalVector(dm, g ,ierr)
       DM dm ! DM
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DMRestoreLocalVector(dm, g ,ierr)
       DM dm ! DM
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DMGetGlobalVector(dm, g ,ierr)
       DM dm ! DM
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DMRestoreGlobalVector(dm, g ,ierr)
       DM dm ! DM
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DALocalToGlobal(da, l, mode, g ,ierr)
       DA da ! DA
       Vec l ! Vec
       InsertMode mode ! InsertMode
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DAGetAO(da, ao ,ierr)
       DA da ! DA
       AO ao ! AO
       integer ierr
       end subroutine
        subroutine DAViewFromOptions(da, title ,ierr)
       DA da ! DA
       character title (*) ! char
       integer ierr
       end subroutine
        subroutine DASetFromOptions(da ,ierr)
       DA da ! DA
       integer ierr
       end subroutine
        subroutine DACreate(comm, da ,ierr)
       integer comm ! MPI_Comm
       DA da ! DA
       integer ierr
       end subroutine
        subroutine DAGetGhostCorners(da, x, y, z, m, n, p ,ierr)
       DA da ! DA
       PetscInt x ! PetscInt
       PetscInt y ! PetscInt
       PetscInt z ! PetscInt
       PetscInt m ! PetscInt
       PetscInt n ! PetscInt
       PetscInt p ! PetscInt
       integer ierr
       end subroutine
        subroutine DASetDim(da, dim ,ierr)
       DA da ! DA
       PetscInt dim ! PetscInt
       integer ierr
       end subroutine
        subroutine DASetSizes(da, M, N, P ,ierr)
       DA da ! DA
       PetscInt M ! PetscInt
       PetscInt N ! PetscInt
       PetscInt P ! PetscInt
       integer ierr
       end subroutine
        subroutine DASetNumProcs(da, m, n, p ,ierr)
       DA da ! DA
       PetscInt m ! PetscInt
       PetscInt n ! PetscInt
       PetscInt p ! PetscInt
       integer ierr
       end subroutine
        subroutine DASetPeriodicity(da, ptype ,ierr)
       DA da ! DA
       DAPeriodicType ptype ! DAPeriodicType
       integer ierr
       end subroutine
        subroutine DASetDof(da, dof ,ierr)
       DA da ! DA
       integer dof ! int
       integer ierr
       end subroutine
        subroutine DASetStencilType(da, stype ,ierr)
       DA da ! DA
       DAStencilType stype ! DAStencilType
       integer ierr
       end subroutine
        subroutine DASetStencilWidth(da, width ,ierr)
       DA da ! DA
       integer width ! int
       integer ierr
       end subroutine
        subroutine DASetVertexDivision(da, lx, ly, lz ,ierr)
       DA da ! DA
       PetscInt lx (*) ! PetscInt
       PetscInt ly (*) ! PetscInt
       PetscInt lz (*) ! PetscInt
       integer ierr
       end subroutine
        subroutine DASetInterpolationType(da, ctype ,ierr)
       DA da ! DA
       DAInterpolationType ctype ! DAInterpolationType
       integer ierr
       end subroutine
        subroutine DASetRefinementFactor(da, refine_x, refine_y,        &
     &refine_z ,ierr)
       DA da ! DA
       PetscInt refine_x ! PetscInt
       PetscInt refine_y ! PetscInt
       PetscInt refine_z ! PetscInt
       integer ierr
       end subroutine
        subroutine DARefine(da, comm, daref ,ierr)
       DA da ! DA
       integer comm ! MPI_Comm
       DA daref ! DA
       integer ierr
       end subroutine
        subroutine DACoarsen(da, comm, daref ,ierr)
       DA da ! DA
       integer comm ! MPI_Comm
       DA daref ! DA
       integer ierr
       end subroutine
        subroutine DARefineHierarchy(da, nlevels, daf ,ierr)
       DA da ! DA
       PetscInt nlevels ! PetscInt
       DA daf (*) ! DA
       integer ierr
       end subroutine
        subroutine DACoarsenHierarchy(da, nlevels, dac ,ierr)
       DA da ! DA
       PetscInt nlevels ! PetscInt
       DA dac (*) ! DA
       integer ierr
       end subroutine
        subroutine DADestroy(da ,ierr)
       DA da ! DA
       integer ierr
       end subroutine
        subroutine DAGetISLocalToGlobalMapping(da, map ,ierr)
       DA da ! DA
       ISLocalToGlobalMapping map ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine DAGetISLocalToGlobalMappingBlck(da, map ,ierr)
       DA da ! DA
       ISLocalToGlobalMapping map ! ISLocalToGlobalMapping
       integer ierr
       end subroutine
        subroutine DAGlobalToNaturalAllCreate(da, scatter ,ierr)
       DA da ! DA
       VecScatter scatter ! VecScatter
       integer ierr
       end subroutine
        subroutine DANaturalAllToGlobalCreate(da, scatter ,ierr)
       DA da ! DA
       VecScatter scatter ! VecScatter
       integer ierr
       end subroutine
        subroutine DAVecRestoreArray(da, vec, array ,ierr)
       DA da ! DA
       Vec vec ! Vec
       PetscVoid array ! void
       integer ierr
       end subroutine
        subroutine DAVecRestoreArrayDOF(da, vec, array ,ierr)
       DA da ! DA
       Vec vec ! Vec
       PetscVoid array ! void
       integer ierr
       end subroutine
        subroutine DASetUniformCoordinates(da, xmin, xmax, ymin, ymax,  &
     &zmin, zmax ,ierr)
       DA da ! DA
       PetscReal xmin ! PetscReal
       PetscReal xmax ! PetscReal
       PetscReal ymin ! PetscReal
       PetscReal ymax ! PetscReal
       PetscReal zmin ! PetscReal
       PetscReal zmax ! PetscReal
       integer ierr
       end subroutine
        subroutine DAFormFunction(da, lf, vu, vfu, w ,ierr)
       DA da ! DA
       external lf ! void function pointer
       Vec vu ! Vec
       Vec vfu ! Vec
       PetscVoid w ! void
       integer ierr
       end subroutine
        subroutine DAFormFunction1(da, vu, vfu, w ,ierr)
       DA da ! DA
       Vec vu ! Vec
       Vec vfu ! Vec
       PetscVoid w ! void
       integer ierr
       end subroutine
        subroutine DAFormFunctioni1(da, i, vu, vfu, w ,ierr)
       DA da ! DA
       PetscInt i ! PetscInt
       Vec vu ! Vec
       PetscScalar vfu ! PetscScalar
       PetscVoid w ! void
       integer ierr
       end subroutine
        subroutine DAFormFunctionib1(da, i, vu, vfu, w ,ierr)
       DA da ! DA
       PetscInt i ! PetscInt
       Vec vu ! Vec
       PetscScalar vfu ! PetscScalar
       PetscVoid w ! void
       integer ierr
       end subroutine
        subroutine DAComputeJacobian1(da, vu, J, w ,ierr)
       DA da ! DA
       Vec vu ! Vec
       Mat J ! Mat
       PetscVoid w ! void
       integer ierr
       end subroutine
        subroutine DMGetInterpolationScale(dac, daf, mat, scale ,ierr)
       DM dac ! DM
       DM daf ! DM
       Mat mat ! Mat
       Vec scale ! Vec
       integer ierr
       end subroutine
        subroutine DAGetInjection(dac, daf, inject ,ierr)
       DA dac ! DA
       DA daf ! DA
       VecScatter inject ! VecScatter
       integer ierr
       end subroutine
        subroutine DAGetAggregates(dac, daf, rest ,ierr)
       DA dac ! DA
       DA daf ! DA
       Mat rest ! Mat
       integer ierr
       end subroutine
        subroutine DAGlobalToLocalBegin(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DALocalToGlobalBegin(da, l, g ,ierr)
       DA da ! DA
       Vec l ! Vec
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DALocalToGlobalEnd(da, l, g ,ierr)
       DA da ! DA
       Vec l ! Vec
       Vec g ! Vec
       integer ierr
       end subroutine
        subroutine DAGlobalToLocalEnd(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DAGlobalToNaturalBegin(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DAGlobalToNaturalEnd(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DANaturalToGlobalBegin(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DANaturalToGlobalEnd(da, g, mode, l ,ierr)
       DA da ! DA
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine SDADestroy(sda ,ierr)
       SDA sda ! SDA
       integer ierr
       end subroutine
        subroutine SDALocalToLocalBegin(sda, g, mode, l ,ierr)
       SDA sda ! SDA
       PetscScalar g ! PetscScalar
       InsertMode mode ! InsertMode
       PetscScalar l ! PetscScalar
       integer ierr
       end subroutine
        subroutine SDALocalToLocalEnd(sda, g, mode, l ,ierr)
       SDA sda ! SDA
       PetscScalar g ! PetscScalar
       InsertMode mode ! InsertMode
       PetscScalar l ! PetscScalar
       integer ierr
       end subroutine
        subroutine DASetMatPreallocateOnly(da, only ,ierr)
       DA da ! DA
       PetscTruth only ! PetscTruth
       integer ierr
       end subroutine
        subroutine DASetBlockFills(da, dfill, ofill ,ierr)
       DA da ! DA
       PetscInt dfill ! PetscInt
       PetscInt ofill ! PetscInt
       integer ierr
       end subroutine
        subroutine DAGetColoring(da, ctype, mtype, coloring ,ierr)
       DA da ! DA
       ISColoringType ctype ! ISColoringType
       MatType mtype ! MatType
       ISColoring coloring ! ISColoring
       integer ierr
       end subroutine
        subroutine MatSetDA(mat, da ,ierr)
       Mat mat ! Mat
       DA da ! DA
       integer ierr
       end subroutine
        subroutine DMCompositeSetContext(dmcomposite, ctx ,ierr)
       DMComposite dmcomposite ! DMComposite
       PetscVoid ctx ! void
       integer ierr
       end subroutine
        subroutine DMCompositeGetContext(dmcomposite, ctx ,ierr)
       DMComposite dmcomposite ! DMComposite
       PetscVoid ctx ! void
       integer ierr
       end subroutine
        subroutine DMCompositeView(packer, v ,ierr)
       DMComposite packer ! DMComposite
       PetscViewer v ! PetscViewer
       integer ierr
       end subroutine
        subroutine DMCompositeGetColoring(dmcomposite, ctype, mtype,    &
     &coloring ,ierr)
       DMComposite dmcomposite ! DMComposite
       ISColoringType ctype ! ISColoringType
       MatType mtype ! MatType
       ISColoring coloring ! ISColoring
       integer ierr
       end subroutine
        subroutine DMDestroy(dm ,ierr)
       DM dm ! DM
       integer ierr
       end subroutine
        subroutine DMView(dm, v ,ierr)
       DM dm ! DM
       PetscViewer v ! PetscViewer
       integer ierr
       end subroutine
        subroutine DMCreateGlobalVector(dm, vec ,ierr)
       DM dm ! DM
       Vec vec ! Vec
       integer ierr
       end subroutine
        subroutine DMCreateLocalVector(dm, vec ,ierr)
       DM dm ! DM
       Vec vec ! Vec
       integer ierr
       end subroutine
        subroutine DMGetInterpolation(dm1, dm2, mat, vec ,ierr)
       DM dm1 ! DM
       DM dm2 ! DM
       Mat mat ! Mat
       Vec vec ! Vec
       integer ierr
       end subroutine
        subroutine DMGetInjection(dm1, dm2, ctx ,ierr)
       DM dm1 ! DM
       DM dm2 ! DM
       VecScatter ctx ! VecScatter
       integer ierr
       end subroutine
        subroutine DMGetColoring(dm, ctype, mtype, coloring ,ierr)
       DM dm ! DM
       ISColoringType ctype ! ISColoringType
       MatType mtype ! MatType
       ISColoring coloring ! ISColoring
       integer ierr
       end subroutine
        subroutine DMRefine(dm, comm, dmf ,ierr)
       DM dm ! DM
       integer comm ! MPI_Comm
       DM dmf ! DM
       integer ierr
       end subroutine
        subroutine DMGlobalToLocalBegin(dm, g, mode, l ,ierr)
       DM dm ! DM
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DMGlobalToLocalEnd(dm, g, mode, l ,ierr)
       DM dm ! DM
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DMLocalToGlobal(dm, g, mode, l ,ierr)
       DM dm ! DM
       Vec g ! Vec
       InsertMode mode ! InsertMode
       Vec l ! Vec
       integer ierr
       end subroutine
        subroutine DMCoarsen(dm, comm, dmc ,ierr)
       DM dm ! DM
       integer comm ! MPI_Comm
       DM dmc ! DM
       integer ierr
       end subroutine
        subroutine DMGetAggregates(dmc, dmf, rest ,ierr)
       DM dmc ! DM
       DM dmf ! DM
       Mat rest ! Mat
       integer ierr
       end subroutine
        subroutine ADDADestroy(adda ,ierr)
       ADDA adda ! ADDA
       integer ierr
       end subroutine
        subroutine ADDAView(adda, v ,ierr)
       ADDA adda ! ADDA
       PetscViewer v ! PetscViewer
       integer ierr
       end subroutine
        subroutine ADDACreateGlobalVector(adda, vec ,ierr)
       ADDA adda ! ADDA
       Vec vec ! Vec
       integer ierr
       end subroutine
        subroutine ADDAGetColoring(adda, ctype, mtype, coloring ,ierr)
       ADDA adda ! ADDA
       ISColoringType ctype ! ISColoringType
       MatType mtype ! MatType
       ISColoring coloring ! ISColoring
       integer ierr
       end subroutine
        subroutine ADDAGetMatrix(adda, mtype, mat ,ierr)
       ADDA adda ! ADDA
       MatType mtype ! MatType
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine ADDAGetMatrixNS(addar, addac, mtype, mat ,ierr)
       ADDA addar ! ADDA
       ADDA addac ! ADDA
       MatType mtype ! MatType
       Mat mat ! Mat
       integer ierr
       end subroutine
        subroutine ADDAGetInterpolation(adda1, adda2, mat, vec ,ierr)
       ADDA adda1 ! ADDA
       ADDA adda2 ! ADDA
       Mat mat ! Mat
       Vec vec ! Vec
       integer ierr
       end subroutine
        subroutine ADDARefine(adda, comm, addaf ,ierr)
       ADDA adda ! ADDA
       integer comm ! MPI_Comm
       ADDA addaf ! ADDA
       integer ierr
       end subroutine
        subroutine ADDACoarsen(adda, comm, addac ,ierr)
       ADDA adda ! ADDA
       integer comm ! MPI_Comm
       ADDA addac ! ADDA
       integer ierr
       end subroutine
        subroutine ADDAGetInjection(adda1, adda2, ctx ,ierr)
       ADDA adda1 ! ADDA
       ADDA adda2 ! ADDA
       VecScatter ctx ! VecScatter
       integer ierr
       end subroutine
        subroutine ADDASetRefinement(adda, refine, dofrefine ,ierr)
       ADDA adda ! ADDA
       PetscInt refine ! PetscInt
       PetscInt dofrefine ! PetscInt
       integer ierr
       end subroutine
        subroutine ADDAGetCorners(adda, lcorner, ucorner ,ierr)
       ADDA adda ! ADDA
       PetscInt lcorner ! PetscInt
       PetscInt ucorner ! PetscInt
       integer ierr
       end subroutine
        subroutine ADDAGetGhostCorners(adda, lcorner, ucorner ,ierr)
       ADDA adda ! ADDA
       PetscInt lcorner ! PetscInt
       PetscInt ucorner ! PetscInt
       integer ierr
       end subroutine