revision 3911 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 4492 by caltinay, Tue Jul 2 01:44:11 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  *  *
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  /*   Finley: integration schemes for element shapes Tri, Quad, Hex, Tet, Line, Point */  /****************************************************************************
18
19  /**************************************************************/    Finley: integration schemes for element shapes Tri, Quad, Hex, Tet, Line,
20              Point
21
23
26
27  #include "Finley.h"  #include "Finley.h"
28
/**************************************************************/

30
31    namespace finley {
32
33  typedef enum {  typedef enum {
40    NoQuad   /* marks end of list */      NoQuad   // marks end of list
42
48                                          double* new_dFfv );                               int new_len, double* new_quadNodes,
52    char* Name;                                /* the name in text form e.g. Line,Rec,... */      /// quadrature type id
53    dim_t numDim;                              /* spatial dimension */      QuadTypeId TypeId;
54    dim_t numVertices;                         /* number of vertices of the element */      /// the name in text form e.g. "Line", "Rec", ...
55    Finley_Quad_getNodes* getQuadNodes;        /* function to set the quadrature points for a given order */      const char* Name;
56    Finley_Quad_getNumNodes* getNumQuadNodes;  /* function selects the number of quadrature nodes for a given accuracy order */      /// number of spatial dimensions
57    Finley_Quad_getMacro *getMacro;                /* transfers a given quadrature scheme to a macro element structure */      int numDim;
58  }  Finley_QuadInfo;      /// number of vertices of the element
59        int numVertices;
60  /**************************************************************/      /// function that returns the quadrature points for a given order
62  /*     Interfaces: */      /// function that returns the number of quadrature nodes for a given
63        /// accuracy order
71
102