Sundance::TetQuadrature Class Reference

List of all members.

Static Public Member Functions

static void getPoints (int order, Array< double > &wgt, Array< double > &x, Array< double > &y, Array< double > &z)
static int maxOrder ()
static bool supportsOrder (int order)
static bool test (int p)

Static Private Member Functions

static void permute (int m, const Array< double > &q, Array< Array< double > > &qPerm)
static double exact (int a, int b, int c, int d)
static double fact (int x)

Detailed Description

Get abscissas and weights for Gaussian quadrature on tetrahedra

Definition at line 45 of file SundanceTetQuadrature.hpp.

Member Function Documentation

double TetQuadrature::exact ( int  a,
int  b,
int  c,
int  d 
) [static, private]

Definition at line 174 of file SundanceTetQuadrature.cpp.

References fact().

Referenced by test().

double TetQuadrature::fact ( int  x  )  [static, private]

Definition at line 179 of file SundanceTetQuadrature.cpp.

Referenced by exact().

void TetQuadrature::getPoints ( int  order,
Array< double > &  wgt,
Array< double > &  x,
Array< double > &  y,
Array< double > &  z 
) [static]

Definition at line 13 of file SundanceTetQuadrature.cpp.

References permute(), and SUNDANCE_ERROR.

Referenced by test().

static int Sundance::TetQuadrature::maxOrder (  )  [inline, static]

Definition at line 53 of file SundanceTetQuadrature.hpp.

void TetQuadrature::permute ( int  m,
const Array< double > &  q,
Array< Array< double > > &  qPerm 
) [static, private]

Definition at line 88 of file SundanceTetQuadrature.cpp.


Referenced by getPoints().

bool TetQuadrature::supportsOrder ( int  order  )  [static]

bool TetQuadrature::test ( int  p  )  [static]

Definition at line 132 of file SundanceTetQuadrature.cpp.

References exact(), getPoints(), and Sundance::pow().

Site Contact