# Diff of /trunk/finley/src/Quadrature.h

revision 2748 by gross, Tue Nov 17 07:32:59 2009 UTC revision 4154 by jfenwick, Tue Jan 22 09:30:23 2013 UTC
# Line 1  Line 1
1
2  /*******************************************************  /*****************************************************************************
3  *  *
4  * Copyright (c) 2003-2009 by University of Queensland  * Copyright (c) 2003-2013 by University of Queensland
5  * Earth Systems Science Computational Center (ESSCC)  * http://www.uq.edu.au
* http://www.uq.edu.au/esscc
6  *  *
7  * Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
8  * Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10  *  *
11  *******************************************************/  * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12    * Development since 2012 by School of Earth Sciences
13    *
14    *****************************************************************************/
15
16
17  /**************************************************************/  /************************************************************************************/
18
19  /*   Finley: integration schemes for element shapes Tri, Quad, Hex, Tet, Line, Point */  /*   Finley: integration schemes for element shapes Tri, Quad, Hex, Tet, Line, Point */
20
21  /**************************************************************/  /************************************************************************************/
22
25
26  /**************************************************************/  /************************************************************************************/
27
28  #include "Finley.h"  #include "Finley.h"
29
30  /**************************************************************/  /************************************************************************************/
31
32  #define MAX_numQuadNodesLine 10  #define MAX_numQuadNodesLine 10
33
# Line 49  typedef dim_t(Finley_Quad_getMacro)(dim_ Line 51  typedef dim_t(Finley_Quad_getMacro)(dim_
51  typedef struct Finley_QuadInfo {  typedef struct Finley_QuadInfo {
52    Finley_QuadTypeId TypeId;                  /* the id */    Finley_QuadTypeId TypeId;                  /* the id */
53    char* Name;                                /* the name in text form e.g. Line,Rec,... */    char* Name;                                /* the name in text form e.g. Line,Rec,... */
54    dim_t numDim;                              /* spacial dimension */    dim_t numDim;                              /* spatial dimension */
55    dim_t numVertices;                         /* number of vertices of the element */    dim_t numVertices;                         /* number of vertices of the element */
56    Finley_Quad_getNodes* getQuadNodes;        /* function to set the quadrature points for a given order */    Finley_Quad_getNodes* getQuadNodes;        /* function to set the quadrature points for a given order */
57    Finley_Quad_getNumNodes* getNumQuadNodes;  /* function selects the number of quadrature nodes for a given accuracy order */    Finley_Quad_getNumNodes* getNumQuadNodes;  /* function selects the number of quadrature nodes for a given accuracy order */
58    Finley_Quad_getMacro *getMacro;                /* transfers a given quadrature scheme to a macro element structure */    Finley_Quad_getMacro *getMacro;                /* transfers a given quadrature scheme to a macro element structure */