This file is indexed.

/usr/include/ug/npscan.h is in libdune-uggrid-dev 2.5.0-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
 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
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
/****************************************************************************/
/*                                                                                                                                                      */
/* File:          npscan.h                                                                                                      */
/*                                                                                                                                                      */
/* Purpose:   header file for scanning routines for npinit calls            */
/*                                                                                                                                                      */
/* Author:        Christian Wieners                                                                     */
/*                        Institut fuer Computeranwendungen III                                                 */
/*                        Universitaet Stuttgart                                                                                */
/*                        Pfaffenwaldring 27                                                                                    */
/*                        70569 Stuttgart                                                                                               */
/*                        email: ug@ica3.uni-stuttgart.de                                                               */
/*                                                                                                                                                      */
/* History:   December 8, 1996                                                                  */
/*                        np part of former np/udm/scan.h, 15.5.97                                              */
/*                                                                                                                                                      */
/* Remarks:                                                                                                                             */
/*                                                                                                                                                      */
/****************************************************************************/



/****************************************************************************/
/*                                                                                                                                                      */
/* auto include mechanism and other include files                                                       */
/*                                                                                                                                                      */
/****************************************************************************/

#ifndef __NPSCAN__
#define __NPSCAN__

#include "scan.h"
#include "udm.h"
#include "numproc.h"
#include "formats.h"

#include "namespace.h"

START_UGDIM_NAMESPACE

/****************************************************************************/
/*                                                                          */
/* defines in the following order                                           */
/*                                                                                                                                                      */
/*                compile time constants defining static data size (i.e. arrays)        */
/*                other constants                                                                                                       */
/*                macros                                                                                                                        */
/*                                                                                                                                                      */
/****************************************************************************/

/****************************************************************************/
/*                                                                                                                                                      */
/* general numerics defines                                                                                                     */
/*                                                                                                                                                      */
/****************************************************************************/

/****************************************************************************/
/*                                                                                                                                                      */
/* macros concerned with data descriptors and symbols                                           */
/*                                                                                                                                                      */
/****************************************************************************/

/****************************************************************************/
/*                                                                                                                                                      */
/* macros concerned with solving                                                                                        */
/*                                                                                                                                                      */
/****************************************************************************/

/****************************************************************************/
/*                                                                                                                                                      */
/* structures concerned with symbolic user data management                                      */
/*                                                                                                                                                      */
/****************************************************************************/

/****************************************************************************/
/*                                                                                                                                                      */
/* function declarations                                                                                                        */
/*                                                                                                                                                      */
/****************************************************************************/

INT ReadArgvPosition                                    (const char *name, INT argc, char **argv, DOUBLE *pos);

VECDATA_DESC *ReadArgvVecDescX                  (MULTIGRID *theMG, const char *name, INT argc, char **argv, INT CreateIfNonExistent);
EVECDATA_DESC *ReadArgvEVecDescX        (MULTIGRID *theMG, const char *name, INT argc, char **argv, INT CreateIfNonExistent);
VEC_TEMPLATE *ReadArgvVecTemplate               (const FORMAT *fmt, const char *name, INT argc, char **argv);
VEC_TEMPLATE *ReadArgvVecTemplateSub    (const FORMAT *fmt, const char *name, INT argc, char **argv, INT *sub);
MAT_TEMPLATE *ReadArgvMatTemplateSub    (const FORMAT *fmt, const char *name, INT argc, char **argv, INT *sub);
MATDATA_DESC *ReadArgvMatDescX                  (MULTIGRID *theMG, const char *name, INT argc, char **argv, INT CreateIfNonExistent);
EMATDATA_DESC *ReadArgvEMatDescX                (MULTIGRID *theMG, const char *name, INT argc, char **argv, INT CreateIfNonExistent);

NP_BASE      *ReadArgvNumProc                   (MULTIGRID *theMG, const char *name, const char *cls, INT argc, char **argv);

#define ReadArgvVecDesc(mg,n,ac,av)             ReadArgvVecDescX(mg,n,ac,av,YES)
#define ReadArgvEVecDesc(mg,n,ac,av)    ReadArgvEVecDescX(mg,n,ac,av,YES)
#define ReadArgvMatDesc(mg,n,ac,av)             ReadArgvMatDescX(mg,n,ac,av,YES)
#define ReadArgvEMatDesc(mg,n,ac,av)    ReadArgvEMatDescX(mg,n,ac,av,YES)

/* for reading damping factors etc. */
INT ReadVecTypeINTs             (const FORMAT *fmt, char *str, INT n, INT nINT[MAXVECTORS], INT theINTs[][MAXVECTORS]);
INT ReadVecTypeDOUBLEs  (const FORMAT *fmt, char *str, INT n, INT nDOUBLE[MAXVECTORS], DOUBLE theDOUBLEs[][MAXVECTORS]);
INT ReadVecTypeOrder    (const FORMAT *fmt, char *str, INT n, INT MaxPerType, INT *nOrder, INT theOrder[]);
INT ReadVecTypeNUMPROCs (const MULTIGRID *theMG, char *str, const char *class_name, INT n, INT nNUMPROC[MAXVECTORS], NP_BASE *theNUMPROCs[][MAXVECTORS]);

/* tools for VEC_SCALAR */
INT sc_read          (VEC_SCALAR x, const FORMAT *fmt, const VECDATA_DESC *theVD, const char *name, INT argc, char **argv);
INT esc_read     (EVEC_SCALAR x, const FORMAT *fmt, const EVECDATA_DESC *theVD, const char *name, INT argc, char **argv);
INT sc_disp      (VEC_SCALAR x, const VECDATA_DESC *theVD, const char *name);
INT esc_disp     (EVEC_SCALAR x, const EVECDATA_DESC *theVD, const char *name);
INT sc_cmp           (VEC_SCALAR x, const VEC_SCALAR y, const VECDATA_DESC *theVD);
INT esc_cmp      (EVEC_SCALAR x, const EVEC_SCALAR y, const EVECDATA_DESC *theVD);
INT sc_eq            (VEC_SCALAR x, const VEC_SCALAR y, DOUBLE ac, const VECDATA_DESC *theVD);
INT esc_eq           (EVEC_SCALAR x, const EVEC_SCALAR y, DOUBLE ac, const EVECDATA_DESC *theVD);
INT sc_mul           (VEC_SCALAR x, const VEC_SCALAR y, const VEC_SCALAR z, const VECDATA_DESC *theVD);
INT esc_mul      (EVEC_SCALAR x, const EVEC_SCALAR y, const EVEC_SCALAR z, const EVECDATA_DESC *theVD);
INT sc_mul_check (VEC_SCALAR x, const VEC_SCALAR y, const VEC_SCALAR z, const VECDATA_DESC *theVD);
INT esc_mul_check (EVEC_SCALAR x, const EVEC_SCALAR y, const EVEC_SCALAR z, const EVECDATA_DESC *theVD);

END_UGDIM_NAMESPACE

#endif