OGS
|
Gauss-Legendre quadrature rule for tetrahedrals.
Definition at line 21 of file IntegrationGaussLegendreTet.h.
#include <IntegrationGaussLegendreTet.h>
Public Types | |
using | WeightedPoint = MathLib::TemplateWeightedPoint< double, double, 3 > |
Public Member Functions | |
IntegrationGaussLegendreTet (unsigned order=2) | |
void | setIntegrationOrder (unsigned order) |
Change the integration order. More... | |
unsigned | getIntegrationOrder () const |
return current integration order. More... | |
unsigned | getNumberOfPoints () const |
return the number of sampling points More... | |
WeightedPoint | getWeightedPoint (unsigned igp) const |
Static Public Member Functions | |
static WeightedPoint | getWeightedPoint (unsigned order, unsigned igp) |
template<typename Method > | |
static WeightedPoint | getWeightedPoint (unsigned igp) |
static unsigned | getNumberOfPoints (unsigned order) |
Private Attributes | |
unsigned | _order |
unsigned | _n_sampl_pt {0} |
using NumLib::IntegrationGaussLegendreTet::WeightedPoint = MathLib::TemplateWeightedPoint<double, double, 3> |
Definition at line 24 of file IntegrationGaussLegendreTet.h.
|
inlineexplicit |
Construct this object with the given integration order
order | integration order (default 2) |
Definition at line 31 of file IntegrationGaussLegendreTet.h.
References setIntegrationOrder().
|
inline |
return current integration order.
Definition at line 44 of file IntegrationGaussLegendreTet.h.
References _order.
Referenced by getWeightedPoint().
|
inline |
return the number of sampling points
Definition at line 47 of file IntegrationGaussLegendreTet.h.
References _n_sampl_pt.
Referenced by setIntegrationOrder().
|
inlinestatic |
get the number of integration points
order | the number of integration points |
Definition at line 93 of file IntegrationGaussLegendreTet.h.
|
inlinestatic |
Definition at line 82 of file IntegrationGaussLegendreTet.h.
|
inline |
get coordinates of a integration point
igp | The integration point index |
Definition at line 55 of file IntegrationGaussLegendreTet.h.
References getIntegrationOrder().
|
inlinestatic |
get coordinates of a integration point
order | the number of integration points |
igp | the sampling point id |
Definition at line 67 of file IntegrationGaussLegendreTet.h.
|
inline |
Change the integration order.
Definition at line 37 of file IntegrationGaussLegendreTet.h.
References _n_sampl_pt, _order, and getNumberOfPoints().
Referenced by IntegrationGaussLegendreTet().
|
private |
Definition at line 109 of file IntegrationGaussLegendreTet.h.
Referenced by getNumberOfPoints(), and setIntegrationOrder().
|
private |
Definition at line 108 of file IntegrationGaussLegendreTet.h.
Referenced by getIntegrationOrder(), and setIntegrationOrder().