ShapeFunctions.cpp File Reference
`#include "ShapeFunctions.h"`
`#include <escript/index.h>`
`#include <cstring>`

## Namespaces

| finley
| A suite of factory methods for creating various finley domains.

## Macros

#define | V(_K_, _I_) v[INDEX2((_K_)-1,(_I_),DIM)]
#define | S(_J_, _I_) s[S_INDEX((_J_)-1,(_I_),NUMSHAPES)]
#define | DSDV(_J_, _K_, _I_) dsdv[DSDV_INDEX((_J_)-1,(_K_)-1,(_I_),NUMSHAPES,DIM)]
#define | NUMSHAPES 1
#define | DIM 0
#define | NUMSHAPES 2
#define | DIM 1
#define | NUMSHAPES 3
#define | DIM 1
#define | NUMSHAPES 4
#define | DIM 1
#define | NUMSHAPES 3
#define | DIM 2
#define | NUMSHAPES 6
#define | DIM 2
#define | NUMSHAPES 9
#define | DIM 2
#define | NUMSHAPES 10
#define | DIM 2
#define | NUMSHAPES 4
#define | DIM 2
#define | NUMSHAPES 8
#define | DIM 2
#define | NUMSHAPES 9
#define | DIM 2
#define | NUMSHAPES 12
#define | DIM 2
#define | NUMSHAPES 16
#define | DIM 2
#define | NUMSHAPES 4
#define | DIM 3
#define | NUMSHAPES 10
#define | DIM 3
#define | NUMSHAPES 16
#define | DIM 3
#define | NUMSHAPES 8
#define | DIM 3
#define | NUMSHAPES 20
#define | DIM 3
#define | NUMSHAPES 27
#define | DIM 3
#define | NUMSHAPES 32
#define | DIM 3

## Functions

void | finley::Shape_Point1 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Line2 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Line3 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Line4 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tri3 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tri6 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tri9 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tri10 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Rec4 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Rec8 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Rec9 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Rec12 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Rec16 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tet4 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tet10 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Tet16 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Hex8 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Hex20 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Hex27 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)
void | finley::Shape_Hex32 (int NumV, std::vector< double > &v, std::vector< double > &s, std::vector< double > &dsdv)

## Variables

const ShapeFunctionInfo | finley::ShapeFunction_InfoList []

## Macro Definition Documentation

## DIM [1/20]

#define DIM 0

## DIM [2/20]

#define DIM 1

## DIM [3/20]

#define DIM 1

## DIM [4/20]

#define DIM 1

## DIM [5/20]

#define DIM 2

## DIM [6/20]

#define DIM 2

## DIM [7/20]

#define DIM 2

## DIM [8/20]

#define DIM 2

## DIM [9/20]

#define DIM 2

## DIM [10/20]

#define DIM 2

## DIM [11/20]

#define DIM 2

## DIM [12/20]

#define DIM 2

## DIM [13/20]

#define DIM 2

## DIM [14/20]

#define DIM 3

## DIM [15/20]

#define DIM 3

## DIM [16/20]

#define DIM 3

## DIM [17/20]

#define DIM 3

## DIM [18/20]

#define DIM 3

## DIM [19/20]

#define DIM 3

## DIM [20/20]

#define DIM 3

## DSDV

#define DSDV | ( |  | _J_,
|  |  | _K_,
|  |  | _I_
| ) |  | dsdv[DSDV_INDEX((_J_)-1,(_K_)-1,(_I_),NUMSHAPES,DIM)]

Referenced by finley::Shape_Hex20(), finley::Shape_Hex27(), finley::Shape_Hex32(), finley::Shape_Hex8(), finley::Shape_Line2(), finley::Shape_Line3(), finley::Shape_Line4(), finley::Shape_Rec12(), finley::Shape_Rec16(), finley::Shape_Rec4(), finley::Shape_Rec8(), finley::Shape_Rec9(), finley::Shape_Tet10(), finley::Shape_Tet16(), finley::Shape_Tet4(), finley::Shape_Tri10(), finley::Shape_Tri3(), finley::Shape_Tri6(), and finley::Shape_Tri9().

## NUMSHAPES [1/20]

#define NUMSHAPES 1

## NUMSHAPES [2/20]

#define NUMSHAPES 2

## NUMSHAPES [3/20]

#define NUMSHAPES 3

## NUMSHAPES [4/20]

#define NUMSHAPES 4

## NUMSHAPES [5/20]

#define NUMSHAPES 3

## NUMSHAPES [6/20]

#define NUMSHAPES 6

## NUMSHAPES [7/20]

#define NUMSHAPES 9

## NUMSHAPES [8/20]

#define NUMSHAPES 10

## NUMSHAPES [9/20]

#define NUMSHAPES 4

## NUMSHAPES [10/20]

#define NUMSHAPES 8

## NUMSHAPES [11/20]

#define NUMSHAPES 9

## NUMSHAPES [12/20]

#define NUMSHAPES 12

## NUMSHAPES [13/20]

#define NUMSHAPES 16

## NUMSHAPES [14/20]

#define NUMSHAPES 4

## NUMSHAPES [15/20]

#define NUMSHAPES 10

## NUMSHAPES [16/20]

#define NUMSHAPES 16

## NUMSHAPES [17/20]

#define NUMSHAPES 8

## NUMSHAPES [18/20]

#define NUMSHAPES 20

## NUMSHAPES [19/20]

#define NUMSHAPES 27

## NUMSHAPES [20/20]

#define NUMSHAPES 32

## S

#define S | ( |  | _J_,
|  |  | _I_
| ) |  | s[S_INDEX((_J_)-1,(_I_),NUMSHAPES)]

Referenced by ripley::Brick::addToMatrixAndRHS(), ripley::Rectangle::addToMatrixAndRHS(), dudley::Assemble_addToSystemMatrix< cplx_t >(), dudley::Assemble_addToSystemMatrix< real_t >(), dudley::Assemble_LumpedSystem(), finley::Assemble_LumpedSystem(), finley::Assemble_PDE_Single_1D(), dudley::Assemble_PDE_Single_2D(), finley::Assemble_PDE_Single_2D(), dudley::Assemble_PDE_Single_3D(), finley::Assemble_PDE_Single_3D(), finley::Assemble_PDE_Single_C(), finley::Assemble_PDE_System_1D(), dudley::Assemble_PDE_System_2D(), finley::Assemble_PDE_System_2D(), dudley::Assemble_PDE_System_3D(), finley::Assemble_PDE_System_3D(), finley::Assemble_PDE_System_C(), escript::condEval(), ripley::Brick::getElementLength(), ripley::Rectangle::getElementLength(), escript::Data::hasNoSamples(), ripley::MultiRectangle::interpolateElementsToElementsCoarserWorker(), ripley::MultiBrick::interpolateElementsToElementsCoarserWorker(), ripley::MultiRectangle::interpolateElementsToElementsFinerWorker(), ripley::MultiBrick::interpolateElementsToElementsFinerWorker(), ripley::Brick::interpolateNodesOnElementsWorker(), ripley::Rectangle::interpolateNodesOnElementsWorker(), ripley::Brick::interpolateNodesOnFacesWorker(), ripley::Rectangle::interpolateNodesOnFacesWorker(), ripley::MultiRectangle::interpolateNodesToElementsFinerWorker(), ripley::MultiBrick::interpolateNodesToElementsFinerWorker(), ripley::MultiRectangle::interpolateNodesToNodesFinerWorker(), ripley::MultiBrick::interpolateNodesToNodesFinerWorker(), ripley::MultiRectangle::interpolateReducedToElementsFinerWorker(), ripley::MultiBrick::interpolateReducedToElementsFinerWorker(), ripley::MultiRectangle::interpolateReducedToReducedFinerWorker(), ripley::MultiBrick::interpolateReducedToReducedFinerWorker(), paso::Preconditioner_AMG_alloc(), and paso::Preconditioner_LocalAMG_alloc().

## V

#define V | ( |  | _K_,
|  |  | _I_
| ) |  | v[INDEX2((_K_)-1,(_I_),DIM)]

Referenced by escript::DataExpanded::actsExpanded(), escript::DataConstant::eigenvalues_and_eigenvectors(), escript::DataExpanded::eigenvalues_and_eigenvectors(), escript::DataTagged::eigenvalues_and_eigenvectors(), escript::Data::eigenvalues_and_eigenvectors(), escript::DataAbstract::hasNoSamples(), escript::DataConstant::isConstant(), escript::DataTagged::isTagged(), finley::Shape_Hex20(), finley::Shape_Hex27(), finley::Shape_Hex32(), finley::Shape_Hex8(), finley::Shape_Line2(), finley::Shape_Line3(), finley::Shape_Line4(), finley::Shape_Rec12(), finley::Shape_Rec16(), finley::Shape_Rec4(), finley::Shape_Rec8(), finley::Shape_Rec9(), finley::Shape_Tet10(), finley::Shape_Tet16(), finley::Shape_Tet4(), finley::Shape_Tri10(), finley::Shape_Tri3(), finley::Shape_Tri6(), and finley::Shape_Tri9().