This file is indexed.

/usr/lib/slepcdir/3.1/include/private/stimpl.h is in libslepc3.1-dev 3.1-p6.dfsg-1.

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
/*
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   SLEPc - Scalable Library for Eigenvalue Problem Computations
   Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain

   This file is part of SLEPc.
      
   SLEPc is free software: you can redistribute it and/or modify it under  the
   terms of version 3 of the GNU Lesser General Public License as published by
   the Free Software Foundation.

   SLEPc  is  distributed in the hope that it will be useful, but WITHOUT  ANY 
   WARRANTY;  without even the implied warranty of MERCHANTABILITY or  FITNESS 
   FOR  A  PARTICULAR PURPOSE. See the GNU Lesser General Public  License  for 
   more details.

   You  should have received a copy of the GNU Lesser General  Public  License
   along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/

#ifndef _STIMPL
#define _STIMPL

#include "slepceps.h"

extern PetscLogEvent ST_SetUp, ST_Apply, ST_ApplyB, ST_ApplyTranspose;
extern PetscFList STList;

typedef struct _STOps *STOps;

struct _STOps {
  PetscErrorCode   (*setup)(ST);
  PetscErrorCode   (*apply)(ST,Vec,Vec);
  PetscErrorCode   (*getbilinearform)(ST,Mat*);
  PetscErrorCode   (*applytrans)(ST,Vec,Vec);
  PetscErrorCode   (*setshift)(ST,PetscScalar);
  PetscErrorCode   (*setfromoptions)(ST);
  PetscErrorCode   (*postsolve)(ST);  
  PetscErrorCode   (*backtr)(ST,PetscInt,PetscScalar*,PetscScalar*);  
  PetscErrorCode   (*destroy)(ST);
  PetscErrorCode   (*view)(ST,PetscViewer);
};

struct _p_ST {
  PETSCHEADER(struct _STOps);
  /*------------------------- User parameters --------------------------*/
  Mat            A,B;              /* Matrices which define the eigensystem */
  PetscScalar    sigma;            /* Value of the shift */
  PetscTruth     sigma_set;        /* whether the user provided the shift or not */
  PetscScalar    defsigma;         /* Default value of the shift */
  STMatMode      shift_matrix;
  MatStructure   str;          /* whether matrices have the same pattern or not */
  Mat            mat;

  /*------------------------- Misc data --------------------------*/
  KSP            ksp;
  Vec            w;
  Vec            D;                /* diagonal matrix for balancing */
  Vec            wb;               /* balancing requires an extra work vector */
  void           *data;
  PetscInt       setupcalled;
  PetscInt       lineariterations;
  PetscInt       applys;
  PetscErrorCode (*checknullspace)(ST,PetscInt,const Vec[]);
  
};

EXTERN PetscErrorCode STRegisterAll(char*);
EXTERN PetscErrorCode STInitializePackage(char*);
EXTERN PetscErrorCode STFinalizePackage(void);

EXTERN PetscErrorCode STGetBilinearForm_Default(ST,Mat*);
EXTERN PetscErrorCode STView_Default(ST,PetscViewer);
EXTERN PetscErrorCode STAssociatedKSPSolve(ST,Vec,Vec);
EXTERN PetscErrorCode STAssociatedKSPSolveTranspose(ST,Vec,Vec);
EXTERN PetscErrorCode STCheckNullSpace_Default(ST,PetscInt,const Vec[]);
EXTERN PetscErrorCode STMatShellCreate(ST st,Mat *mat);

#endif