/usr/include/gmsh/GaussIntegration.h is in libgmsh-dev 2.15.0+dfsg1-3.
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 | // Gmsh - Copyright (C) 1997-2016 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@onelab.info>.
#ifndef _GAUSS_INTEGRATION_H_
#define _GAUSS_INTEGRATION_H_
#include "fullMatrix.h"
struct IntPt{
double pt[3];
double weight;
};
int GaussLegendreTri(int n1, int n2, IntPt *pts);
int GaussLegendreTet(int n1, int n2, int n3, IntPt *pts);
int getNGQLPts (int order);
IntPt *getGQLPts (int order);
int getNGQTPts(int order);
IntPt *getGQTPts (int order);
int getNGQQPts(int order);
IntPt *getGQQPts(int order);
int getNGQTetPts(int order);
IntPt *getGQTetPts(int order);
int getNGQPriPts(int order);
IntPt *getGQPriPts(int order);
int getNGQPyrPts(int order);
IntPt *getGQPyrPts(int order);
int getNGQHPts(int order);
IntPt *getGQHPts(int order);
class gaussIntegration {
public:
static void get(int elementType, int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getTriangle(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getLine(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getQuad(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getTetrahedron(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getHexahedron(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getPrism(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
static void getPyramid(int order, fullMatrix<double> &pts,
fullVector<double> &weights);
};
#endif
|