/[escript]/trunk/finley/src/ReferenceElements.h
ViewVC logotype

Diff of /trunk/finley/src/ReferenceElements.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3980 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 3981 by jfenwick, Fri Sep 21 02:47:54 2012 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*****************************************************************************
3  *  *
4  * Copyright (c) 2003-2012 by University of Queensland  * Copyright (c) 2003-2012 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
9  * http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
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: Reference elements */  /*   Finley: Reference elements */
20    
21  /**************************************************************/  /************************************************************************************/
22    
23  #ifndef INC_FINLEY_REFERENCEELEMENTS  #ifndef INC_FINLEY_REFERENCEELEMENTS
24  #define INC_FINLEY_REFERENCEELEMENTS  #define INC_FINLEY_REFERENCEELEMENTS
25    
26    
27  /**************************************************************/  /************************************************************************************/
28    
29  #include "Finley.h"  #include "Finley.h"
30  #include "ShapeFunctions.h"  #include "ShapeFunctions.h"
31  #include "Quadrature.h"  #include "Quadrature.h"
32    
33  /**************************************************************/  /************************************************************************************/
34    
35  /*     The ids of the allowed reference elements: */  /*     The ids of the allowed reference elements: */
36    
# Line 116  typedef enum { Line 118  typedef enum {
118    Finley_NoRef   /* marks end of list */    Finley_NoRef   /* marks end of list */
119  } Finley_ElementTypeId;  } Finley_ElementTypeId;
120    
121  /**************************************************************/  /************************************************************************************/
122    
123  /*  this struct holds the definition of the reference element: */  /*  this struct holds the definition of the reference element: */
124    
# Line 142  typedef struct Finley_ReferenceElementIn Line 144  typedef struct Finley_ReferenceElementIn
144    
145    index_t subElementNodes[MAX_numNodes*MAX_numSides*MAX_numSubElements];         /* gives the list of nodes defining the subelements:    index_t subElementNodes[MAX_numNodes*MAX_numSides*MAX_numSubElements];         /* gives the list of nodes defining the subelements:
146                                                                          subElementNodes[INDEX2(i,s,BasisFunctions->numShape*numSides)] is the i-th node in the s-th subelement.*/                                                                          subElementNodes[INDEX2(i,s,BasisFunctions->numShape*numSides)] is the i-th node in the s-th subelement.*/
147  /*********************************************************************************************************************************** */    /********************************************************************************************************************************************************* */  
148    dim_t numRelevantGeoNodes;                 /* number of nodes used to describe the geometry of the geometrically relevant part of the element    dim_t numRelevantGeoNodes;                 /* number of nodes used to describe the geometry of the geometrically relevant part of the element
149                                                  typically this is numNodes but for 'Face' elements where the quadrature points are defined on face of the element                                                  typically this is numNodes but for 'Face' elements where the quadrature points are defined on face of the element
150                          this is the number of nodes on the particular face. */                          this is the number of nodes on the particular face. */
# Line 158  typedef struct Finley_ReferenceElementIn Line 160  typedef struct Finley_ReferenceElementIn
160  }  Finley_ReferenceElementInfo;  }  Finley_ReferenceElementInfo;
161    
162    
163  /**************************************************************/  /************************************************************************************/
164    
165  /*  this struct holds the realization of a reference element */  /*  this struct holds the realization of a reference element */
166    
# Line 178  typedef struct Finley_ReferenceElement { Line 180  typedef struct Finley_ReferenceElement {
180    
181  }  Finley_ReferenceElement;  }  Finley_ReferenceElement;
182    
183  /**************************************************************/  /************************************************************************************/
184    
185  /*    interfaces: */  /*    interfaces: */
186    

Legend:
Removed from v.3980  
changed lines
  Added in v.3981

  ViewVC Help
Powered by ViewVC 1.1.26