This file is indexed.

/usr/include/deal.II/base/polynomials_adini.h is in libdeal.ii-dev 6.3.1-1.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
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
//---------------------------------------------------------------------------
//    $Id: polynomials_adini.h 19047 2009-07-08 19:31:48Z bangerth $
//    Version: $Name$
//
//    Copyright (C) 2009 by the deal.II authors
//
//    This file is subject to QPL and may not be  distributed
//    without copyright and license information. Please refer
//    to the file deal.II/doc/license.html for the  text  and
//    further information on this license.
//
//---------------------------------------------------------------------------

#ifndef __deal2__polynomials_adini_h
#define __deal2__polynomials_adini_h

#include <base/point.h>
#include <base/tensor.h>
#include <base/table.h>

DEAL_II_NAMESPACE_OPEN

/**
 * The cubic polynomial space for the Adini element
 *
 * This space consists of the cubic space <i>P<sub>3</sub></i>
 * augmented by the functions <i>xy<sup>3</sup></i> and
 * <i>x<sup>3</sup>y</i>.
 *
 * The basis of the space is chosen to match the node functionals of
 * the Adini element.
 *
 * @todo This polynomial space is implemented in 2D only.
 *
 * @author Bärbel Janssen, 2007
 */

class PolynomialsAdini 
{
  public:
                                     /**
                                      * Constructor for 
                                      * the polynomials of 
                                      * the described space
                                      */
    PolynomialsAdini ();
                                     /**
                                      * Computes the value and the
                                      * first and second derivatives
                                      * of each polynomial at
                                      * <tt>unit_point</tt>.
                                      *
                                      * The size of the vectors must
                                      * either be equal 0 or equal
                                      * n(). In the first case,
                                      * the function will not compute
                                      * these values, i.e. you
                                      * indicate what you want to have
                                      * computed by resizing those
                                      * vectors which you want filled.
                                      *
                                      * If you need values or
                                      * derivatives of all polynomials
                                      * then use this function, rather
                                      * than using any of the
                                      * compute_value(),
                                      * compute_grad() or
                                      * compute_grad_grad()
                                      * functions, see below, in a
                                      * loop over all polynomials.
                                      */

    void compute (const Point<2> &unit_point, 
                  std::vector<double> &values,
                  std::vector<Tensor<1,2> > &grads,
                  std::vector< Tensor<2,2> > &grad_grads) const;

                                      /**
                                       * Computes the value of the
                                       * <tt>i</tt>th polynomial at
                                       * <tt>unit_point</tt>.
                                       *
                                       * Consider using compute() instead.
                                       */

    double compute_value (const unsigned int i, 
                          const Point<2> &p) const;

                                      /**
                                       * Computes the gradient of the
                                       * <tt>i</tt>th polynomial at
                                       * <tt>unit_point</tt>.
                                       *
                                       * Consider using compute() instead.
                                       */

    Tensor<1,2> compute_grad (const unsigned int i,
                              const Point<2> &p) const;
                                      /**
                                       * Computes the second derivative
                                       * (grad_grad) of the <tt>i</tt>th
                                       * polynomial at
                                       * <tt>unit_point</tt>.
                                       *
                                       * Consider using compute() instead.
                                       */

    Tensor<2,2> compute_grad_grad (const unsigned int i, const Point<2> &p) const;
    Tensor<2,2> compute_grad_grad_2 (const unsigned int i, const Point<2> &p) const;

  private:
                                        /**
                                         * Store the coefficients of the 
                                         * polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */
    Table<2, double> coef;    

                                        /**
                                         * Store the coefficients of the x-derivative
                                         * of the polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */

    Table<2, double> dx;      
                                        /**
                                         * Store the coefficients of the y-derivative
                                         * of the polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */

    Table<2, double> dy;      
                                        /**
                                         * Store the coefficients of the second x-derivative
                                         * of the polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */
    Table<2, double> dxx;     
                                        /**
                                         * Store the coefficients of the second y-derivative
                                         * of the polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */
    Table<2, double> dyy;     
                                        /**
                                         * Store the coefficients of the second mixed derivative
                                         * of the polynominals in the order
                                         * $1,x,y,x^2,y^2,xy,x^3,y^3,xy^2,x^2y,x^3y,xy^3$
                                         */
    Table<2, double> dxy;     

};



DEAL_II_NAMESPACE_CLOSE

#endif