PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ tensor_product_quadrature()

static void pism::fem::tensor_product_quadrature ( unsigned int  n,
const double *  points1,
const double *  weights1,
std::vector< QuadPoint > &  points,
std::vector< double > &  weights 
)
static

Build quadrature points and weights for a tensor product quadrature based on a 1D quadrature rule. Uses the same 1D quadrature in both directions.

Parameters
[in]n1D quadrature size (the resulting quadrature has size n*n)
[in]points11D quadrature points
[in]weights11D quadrature weights
[out]pointsresulting 2D quadrature points
[out]weightsresulting 2D quadrature weights

Definition at line 42 of file Quadrature.cc.

References n.

Referenced by pism::fem::Q1Quadrature16::Q1Quadrature16(), pism::fem::Q1Quadrature4::Q1Quadrature4(), pism::fem::Q1Quadrature9::Q1Quadrature9(), and pism::fem::Q1QuadratureN::Q1QuadratureN().