/[escript]/branches/domexper/dudley/src/ShapeTable.h
ViewVC logotype

Diff of /branches/domexper/dudley/src/ShapeTable.h

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

revision 3197 by jfenwick, Wed Sep 22 05:52:31 2010 UTC revision 3210 by jfenwick, Mon Sep 27 04:13:19 2010 UTC
# Line 23  This file is not to be included in .h fi Line 23  This file is not to be included in .h fi
23    
24  #include "paso/Common.h"    // I just want the types not all the includes that get dragged in - fix that  #include "paso/Common.h"    // I just want the types not all the includes that get dragged in - fix that
25    
26    #include "ReferenceElements.h"   // This is just for the elementTypes
27    
28  // These are constructed from dsdv in ShapeFunction.c in finley  // These are constructed from dsdv in ShapeFunction.c in finley
29  // The first two are just there for functions that want a pointer  // The first two are just there for functions that want a pointer
30  static const double DTDV_0D[1][1]={{0}};  static const double DTDV_0D[1][1]={{0}};
# Line 40  static const double DTDV_2D_alt[3*3][2]= Line 42  static const double DTDV_2D_alt[3*3][2]=
42  // Why didn't I just reorder DTDV_2D?   Well some code apparently depends on the order as written.  // Why didn't I just reorder DTDV_2D?   Well some code apparently depends on the order as written.
43  // should probably fix that  // should probably fix that
44    
45    // Index by ElementTypeID
46    // The number of local dimensions (as opposed to dimension of the embedding space)
47    static const dim_t localDims[8]={0,1,2,3,0,1,2,0};
48    
49    /* the following lists are only used for face elements defined by numNodesOnFace>0 */
50    static const dim_t numNodesOnFaceMap[8]={1,2,3,4,1,2,4,-1}; /* if the element is allowed as a face element, numNodesOnFace defines the number of nodes defining the face */
51    static const dim_t shiftNodesMap[8][4]={{0}, { 1, 0 }, { 1, 2, 0 }, {-1}, { 0, 1, 2}, { 1, 0, 2 }, {1, 2, 0, 3 }, {0}};/* defines a permutation of the nodes which rotates the nodes on the face */
52    static const dim_t reverseNodesMap[8][4]={{-1}, {-1 }, { 0, 2, 1}, {-1}, {-1}, {-1}, { 0, 2, 1, 3 }, {0}};/* reverses the order of the nodes on a face. the permutation has keep 0 fixed. */
53                                                  /* shiftNodes={-1} or reverseNodes={-1} are ignored. */
54    
55    
56    
57  // [0] is reduced quadrature, [1] is full quadrature  // [0] is reduced quadrature, [1] is full quadrature
58  // in order the positions are POINT, LINE, TRI, TET  // in order the positions are POINT, LINE, TRI, TET
# Line 50  static const dim_t QuadNums[4][2] ={{0,0 Line 63  static const dim_t QuadNums[4][2] ={{0,0
63  //shape functions at quadrature nodes  //shape functions at quadrature nodes
64  bool_t getQuadShape(dim_t sim, bool_t reduced, const double** shapearr);  bool_t getQuadShape(dim_t sim, bool_t reduced, const double** shapearr);
65    
66    const char* getElementName(ElementTypeId id);
67    
   
   
   
   
68  #endif  #endif
69    
70    

Legend:
Removed from v.3197  
changed lines
  Added in v.3210

  ViewVC Help
Powered by ViewVC 1.1.26