/[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 3184 by jfenwick, Wed Sep 15 00:23:42 2010 UTC revision 3196 by jfenwick, Wed Sep 22 01:18:52 2010 UTC
# Line 21  This file is not to be included in .h fi Line 21  This file is not to be included in .h fi
21  #ifndef SHAPETABLE_DUDLEY  #ifndef SHAPETABLE_DUDLEY
22  #define SHAPETABLE_DUDLEY  #define SHAPETABLE_DUDLEY
23    
24  /* This optimisation assumes that loop unrolling is enabled for this file */  #include "paso/Common.h"    // I just want the types not all the includes that get dragged in - fix that
25    
26    
27    // The first two are just there for functions that want a pointer
28    static const double DTDV_0D[1][1]={{0}};
29    static const double DTDV_1D[2][2]={{0,0},{0,0}};
30  static const double DTDV_2D[3][2]={{-1,-1}, {1,0}, {0,1}};  static const double DTDV_2D[3][2]={{-1,-1}, {1,0}, {0,1}};
31  static const double DTDV_3D[4][3]={{-1, -1, -1}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}};  static const double DTDV_3D[4][3]={{-1, -1, -1}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}};
32    
33    
34    // [0] is reduced quadrature, [1] is full quadrature
35    // in order the positions are POINT, LINE, TRI, TET
36    static const double QuadWeight[4][2]={{0, 0}, {1., 0.5}, {0.5, 1./6}, {1./6, 1./24}};
37    
38    static const dim_t QuadNums[4][2] ={{0,0}, {1,2}, {1,3}, {1,4}};
39    
40    //shape functions at quadrature nodes
41    bool_t getQuadShape(dim_t sim, bool_t reduced, const double** shapearr);
42    
43    
44    
45    
46    
47    
48    
49  #endif  #endif
50    

Legend:
Removed from v.3184  
changed lines
  Added in v.3196

  ViewVC Help
Powered by ViewVC 1.1.26