v0.9.1
Go to the documentation of this file.
1 /* Parallel Hierarchical Grid -- an adaptive finite element library.
2  *
3  * Copyright (C) 2005-2010 State Key Laboratory of Scientific and
4  * Engineering Computing, Chinese Academy of Sciences. */
5
6 /* This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301 USA */
20
21 /* $Id: quad.h,v 1.5 2014/10/21 03:00:08 zlb Exp$ */
22
24
26  char *name; /* name of the quadrature formulae */
27  int dim; /* dimension, 1: edge, 2: face, 3: tetra */
28  int order; /* exact for polynomials of order 'order' */
29  int npoints; /* number of points */
30  double *points; /* barycentric coordinates of quad. points */
31  double *weights; /* weights */
32  char id; /* id (for use with reference count) */
34
36
37 /* 1D quadrature rules */
70
71 /* 2D quadrature rules */
130
131 /* 3D quadrature rules */
160
161 // Tables
162
172 };
173
184 };
185
192 };
193
195 #endif
double * points
char id
char * name
int npoints
int dim
double * weights
int order