/usr/lib/petscdir/3.1/include/private/isimpl.h 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 | /*
Index sets for scatter-gather type operations in vectors
and matrices.
*/
#if !defined(_IS_H)
#define _IS_H
#include "petscis.h"
struct _ISOps {
PetscErrorCode (*getsize)(IS,PetscInt*);
PetscErrorCode (*getlocalsize)(IS,PetscInt*);
PetscErrorCode (*getindices)(IS,const PetscInt*[]);
PetscErrorCode (*restoreindices)(IS,const PetscInt*[]);
PetscErrorCode (*invertpermutation)(IS,PetscInt,IS*);
PetscErrorCode (*sortindices)(IS);
PetscErrorCode (*sorted)(IS,PetscTruth *);
PetscErrorCode (*duplicate)(IS,IS *);
PetscErrorCode (*destroy)(IS);
PetscErrorCode (*view)(IS,PetscViewer);
PetscErrorCode (*identity)(IS,PetscTruth*);
PetscErrorCode (*copy)(IS,IS);
};
struct _p_IS {
PETSCHEADER(struct _ISOps);
PetscTruth isperm; /* if is a permutation */
PetscInt max,min; /* range of possible values */
void *data;
PetscTruth isidentity;
};
#endif
|