escript  Revision_Unversioneddirectory
Functions | Variables
ShapeTable.h File Reference
#include "esysUtils/types.h"
#include "ElementType.h"

Go to the source code of this file.

Functions

bool getQuadShape (dim_t sim, bool reduced, const double **shapearr)
 
const char * getElementName (Dudley_ElementTypeId id)
 

Variables

static const double DTDV_0D [1][1] = { {0} }
 
static const double DTDV_1D [2][2] = { {-1., 1}, {-1., 1.} }
 
static const double DTDV_2D [3 *3][2]
 
static const double DTDV_3D [4][3] = { {-1, -1, -1}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1} }
 
static const dim_t localDims [8] = { 0, 1, 2, 3, 0, 1, 2, 0 }
 
static const dim_t Dims [8] = { 0, 1, 2, 3, 1, 2, 3, 0 }
 
static const dim_t numNodesOnFaceMap [8] = { 1, 2, 3, 4, 1, 2, 4, -1 }
 
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} }
 
static const dim_t reverseNodesMap [8][4] = { {-1}, {-1}, {0, 2, 1}, {-1}, {-1}, {-1}, {0, 2, 1, 3}, {0} }
 
static const double QuadWeight [4][2] = { {0, 0}, {1., 0.5}, {0.5, 1. / 6}, {1. / 6, 1. / 24} }
 
static const dim_t QuadNums [4][2] = { {0, 0}, {1, 2}, {1, 3}, {1, 4} }
 

Function Documentation

const char* getElementName ( Dudley_ElementTypeId  id)
bool getQuadShape ( dim_t  sim,
bool  reduced,
const double **  shapearr 
)

Variable Documentation

const dim_t Dims[8] = { 0, 1, 2, 3, 1, 2, 3, 0 }
static
const double DTDV_0D[1][1] = { {0} }
static
const double DTDV_1D[2][2] = { {-1., 1}, {-1., 1.} }
static
const double DTDV_2D[3 *3][2]
static
Initial value:
= { {-1, 1}, {0, -1.}, {0, 1},
{-1, 1}, {0, -1.}, {0, 1},
{-1, 1}, {0, -1.}, {0, 1}
}

Referenced by Dudley_Assemble_jacobeans_2D(), and Dudley_Assemble_setNormal().

const double DTDV_3D[4][3] = { {-1, -1, -1}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1} }
static
const dim_t localDims[8] = { 0, 1, 2, 3, 0, 1, 2, 0 }
static
const dim_t numNodesOnFaceMap[8] = { 1, 2, 3, 4, 1, 2, 4, -1 }
static
const dim_t QuadNums[4][2] = { {0, 0}, {1, 2}, {1, 3}, {1, 4} }
static
const double QuadWeight[4][2] = { {0, 0}, {1., 0.5}, {0.5, 1. / 6}, {1. / 6, 1. / 24} }
static
const dim_t reverseNodesMap[8][4] = { {-1}, {-1}, {0, 2, 1}, {-1}, {-1}, {-1}, {0, 2, 1, 3}, {0} }
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} }
static