/[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 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 104  typedef enum { Line 104  typedef enum {
104  typedef struct Finley_RefElementInfo {  typedef struct Finley_RefElementInfo {
105    ElementTypeId TypeId;                      /* the id */    ElementTypeId TypeId;                      /* the id */
106    char* Name;                                /* the name in text form e.g. Line1,Rec12,... */    char* Name;                                /* the name in text form e.g. Line1,Rec12,... */
107    int numDim;                                /* dimension of the element */    dim_t numDim;                              /* dimension of the element */
108    int numNodes;                              /* number of nodes defining the element*/    dim_t numNodes;                            /* number of nodes defining the element*/
109    int numShapes;                             /* number of shape functions, typically = numNodes*/    dim_t numShapes;                           /* number of shape functions, typically = numNodes*/
110    int numOrder;                              /* order of the shape functions */    dim_t numOrder;                            /* order of the shape functions */
111    int numVertices;                           /* number of vertices of the element */    dim_t numVertices;                         /* number of vertices of the element */
112    ElementTypeId LinearTypeId;                /* id of the linear version of the element */    ElementTypeId LinearTypeId;                /* id of the linear version of the element */
113    int linearNodes[MAX_numNodes];             /* gives the list of nodes defining the linear element, typically it is linearNodes[i]=i */    index_t linearNodes[MAX_numNodes];         /* gives the list of nodes defining the linear element, typically it is linearNodes[i]=i */
114    Finley_Shape_Function* getValues;          /* function to evaluate the shape functions at a set of points */    Finley_Shape_Function* getValues;          /* function to evaluate the shape functions at a set of points */
115    Finley_Quad_getNodes* getQuadNodes;        /* function to set the quadrature points */    Finley_Quad_getNodes* getQuadNodes;        /* function to set the quadrature points */
116    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 */
117    int numGeoNodes;                           /* nuber of nodes used to describe the geometry of the geometrically relevant part of the element */    dim_t numGeoNodes;                         /* nuber of nodes used to describe the geometry of the geometrically relevant part of the element */
118                                               /* typically this is numNodes but for volumenic elements used to descrbe faces this is the number of */                                               /* typically this is numNodes but for volumenic elements used to descrbe faces this is the number of */
119                                               /* nodes on the particular face */                                               /* nodes on the particular face */
120    int geoNodes[MAX_numNodes];                /* list to gather the geometrically relevant nodes */    index_t geoNodes[MAX_numNodes];            /* list to gather the geometrically relevant nodes */
121    int numNodesOnFace;                        /* if the element is allowed as a face element, numNodesOnFace defines the number of nodes */    dim_t numNodesOnFace;                      /* if the element is allowed as a face element, numNodesOnFace defines the number of nodes */
122                                               /* defining the face */                                               /* defining the face */
123                  /* the following lists are only used for face elements defined by numNodesOnFace>0 */                  /* the following lists are only used for face elements defined by numNodesOnFace>0 */
124    int faceNode[MAX_numNodes];             /* list of the nodes defining the face */    index_t faceNode[MAX_numNodes];             /* list of the nodes defining the face */
125    int shiftNodes[MAX_numNodes];             /* defines a permutation of the nodes which rotates the nodes on the face */    index_t shiftNodes[MAX_numNodes];           /* defines a permutation of the nodes which rotates the nodes on the face */
126    int reverseNodes[MAX_numNodes];           /* reverses the order of the nodes on a face. teh permutation has keep 0 fixed. */    index_t reverseNodes[MAX_numNodes];         /* reverses the order of the nodes on a face. teh permutation has keep 0 fixed. */
127                                              /* shiftNodes={-1} or reverseNodes={-1} are ignored. */                                                /* shiftNodes={-1} or reverseNodes={-1} are ignored. */
128  }  Finley_RefElementInfo;  }  Finley_RefElementInfo;
129    
130  /**************************************************************/  /**************************************************************/
# Line 152  ElementTypeId Finley_RefElement_getTypeI Line 152  ElementTypeId Finley_RefElement_getTypeI
152    
153  /*  /*
154   * $Log$   * $Log$
155   * Revision 1.1  2004/10/26 06:53:57  jgs   * Revision 1.2  2005/07/08 04:07:56  jgs
156   * Initial revision   * Merge of development branch back to main trunk on 2005-07-08
157     *
158     * Revision 1.1.1.1.2.1  2005/06/29 02:34:55  gross
159     * some changes towards 64 integers in finley
160     *
161     * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
162     * initial import of project esys2
163   *   *
164   * Revision 1.1.1.1  2004/06/24 04:00:40  johng   * Revision 1.1.1.1  2004/06/24 04:00:40  johng
165   * Initial version of eys using boost-python.   * Initial version of eys using boost-python.

Legend:
Removed from v.82  
changed lines
  Added in v.123

  ViewVC Help
Powered by ViewVC 1.1.26