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

## Namespaces

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

## Macros

#define | QUADNODES(_K_, _I_) quadNodes[INDEX2(_K_,_I_,DIM)]
#define | QUADWEIGHTS(_I_) quadWeights[_I_]
#define | DIM 2
#define | DIM 3
#define | DIM 2
#define | DIM 3
#define | DIM 1
#define | HALF 0.5
#define | TWO 2.
#define | DIM 2
#define | DIM 2
#define | DIM 3
#define | DIM 3

## Functions

const QuadInfo * | finley::QuadInfo_getInfo (QuadTypeId id)
void | finley::Quad_getNodesTri (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
void | finley::Quad_getNodesTet (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
void | finley::Quad_getNodesRec (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
void | finley::Quad_getNodesHex (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
void | finley::Quad_getNodesPoint (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
void | finley::Quad_getNodesLine (int numQuadNodes, std::vector< double > &quadNodes, std::vector< double > &quadWeights)
int | finley::Quad_getNumNodesPoint (int order)
int | finley::Quad_getNumNodesLine (int order)
int | finley::Quad_getNumNodesTri (int order)
int | finley::Quad_getNumNodesRec (int order)
int | finley::Quad_getNumNodesTet (int order)
int | finley::Quad_getNumNodesHex (int order)
int | finley::Quad_MacroPoint (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)
int | finley::Quad_MacroLine (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)
int | finley::Quad_MacroTri (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)
int | finley::Quad_MacroRec (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)
int | finley::Quad_MacroTet (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)
int | finley::Quad_MacroHex (int numSubElements, int numQuadNodes, const double *quadNodes, const double *quadWeights, int numF, const double *dFdv, int new_len, double *new_quadNodes, double *new_quadWeights, double *new_dFdv)

## Variables

const QuadInfo | finley::QuadInfoList []

## Macro Definition Documentation

## DIM [1/9]

#define DIM 2

Referenced by finley::Assemble_jacobians_1D(), dudley::Assemble_jacobians_2D(), finley::Assemble_jacobians_2D(), dudley::Assemble_jacobians_2D_M1D_E1D(), finley::Assemble_jacobians_2D_M1D_E1D(), finley::Assemble_jacobians_2D_M1D_E1D_C(), finley::Assemble_jacobians_2D_M1D_E2D(), finley::Assemble_jacobians_2D_M1D_E2D_C(), dudley::Assemble_jacobians_3D(), finley::Assemble_jacobians_3D(), dudley::Assemble_jacobians_3D_M2D_E2D(), finley::Assemble_jacobians_3D_M2D_E2D(), finley::Assemble_jacobians_3D_M2D_E2D_C(), finley::Assemble_jacobians_3D_M2D_E3D(), finley::Assemble_jacobians_3D_M2D_E3D_C(), 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_System_1D(), dudley::Assemble_PDE_System_2D(), finley::Assemble_PDE_System_2D(), dudley::Assemble_PDE_System_3D(), finley::Assemble_PDE_System_3D(), dudley::DudleyDomain::create2D(), dudley::DudleyDomain::create3D(), finley::FinleyDomain::createHex20(), finley::FinleyDomain::createHex8(), finley::FinleyDomain::createRec4(), finley::FinleyDomain::createRec8(), finley::Quad_MacroHex(), finley::Quad_MacroLine(), finley::Quad_MacroRec(), finley::Quad_MacroTet(), and finley::Quad_MacroTri().

## DIM [2/9]

#define DIM 3

## DIM [3/9]

#define DIM 2

## DIM [4/9]

#define DIM 3

## DIM [5/9]

#define DIM 1

## DIM [6/9]

#define DIM 2

## DIM [7/9]

#define DIM 2

## DIM [8/9]

#define DIM 3

## DIM [9/9]

#define DIM 3

## HALF

#define HALF 0.5

Referenced by finley::Quad_MacroHex(), finley::Quad_MacroRec(), finley::Quad_MacroTet(), and finley::Quad_MacroTri().

## QUADNODES

#define QUADNODES | ( |  | _K_,
|  |  | _I_
| ) |  | quadNodes[INDEX2(_K_,_I_,DIM)]

Referenced by finley::Quad_getNodesHex(), finley::Quad_getNodesRec(), finley::Quad_getNodesTet(), and finley::Quad_getNodesTri().

## QUADWEIGHTS

#define QUADWEIGHTS | ( |  | _I_ | ) | quadWeights[_I_]

Referenced by finley::Quad_getNodesHex(), finley::Quad_getNodesRec(), finley::Quad_getNodesTet(), and finley::Quad_getNodesTri().

## TWO

#define TWO 2.

Referenced by finley::Quad_MacroHex(), finley::Quad_MacroRec(), finley::Quad_MacroTet(), and finley::Quad_MacroTri().