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

revision 3911 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 4347 by jfenwick, Tue Apr 2 04:58:44 2013 UTC
# Line 1  Line 1
1
2  /*******************************************************  /*****************************************************************************
3  *  *
4  * Copyright (c) 2003-2012 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 48  typedef dim_t(Finley_Quad_getMacro)(dim_ Line 50  typedef dim_t(Finley_Quad_getMacro)(dim_
50
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,... */    const char* Name;                                /* the name in text form e.g. Line,Rec,... */
54    dim_t numDim;                              /* spatial 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 */
# Line 56  typedef struct Finley_QuadInfo { Line 58  typedef struct Finley_QuadInfo {
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 */