OGS
|
Gauss-Legendre quadrature rule for prisms.
Definition at line 22 of file IntegrationGaussLegendrePrism.h.
#include <IntegrationGaussLegendrePrism.h>
Public Types | |
using | WeightedPoint = MathLib::TemplateWeightedPoint< double, double, 3 > |
Public Member Functions | |
IntegrationGaussLegendrePrism (unsigned order=2) | |
void | setIntegrationOrder (unsigned) |
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 {2} |
unsigned | _n_sampl_pt {0} |
using NumLib::IntegrationGaussLegendrePrism::WeightedPoint = MathLib::TemplateWeightedPoint<double, double, 3> |
Definition at line 25 of file IntegrationGaussLegendrePrism.h.
|
inlineexplicit |
Construct this object with the given integration order
order | integration order (default 2) |
Definition at line 32 of file IntegrationGaussLegendrePrism.h.
References setIntegrationOrder().
|
inline |
return current integration order.
Definition at line 45 of file IntegrationGaussLegendrePrism.h.
References _order.
Referenced by getWeightedPoint().
|
inline |
return the number of sampling points
Definition at line 48 of file IntegrationGaussLegendrePrism.h.
References _n_sampl_pt.
Referenced by setIntegrationOrder().
|
inlinestatic |
get the number of integration points
order | the number of integration points |
Definition at line 87 of file IntegrationGaussLegendrePrism.h.
|
inlinestatic |
Definition at line 76 of file IntegrationGaussLegendrePrism.h.
|
inline |
Get coordinates of the integration point.
igp | The integration point index |
Definition at line 53 of file IntegrationGaussLegendrePrism.h.
References getIntegrationOrder().
|
inlinestatic |
Get coordinates of the integration point.
order | The number of integration points |
igp | The integration point index |
Definition at line 61 of file IntegrationGaussLegendrePrism.h.
|
inline |
Change the integration order.
Definition at line 38 of file IntegrationGaussLegendrePrism.h.
References _n_sampl_pt, _order, and getNumberOfPoints().
Referenced by IntegrationGaussLegendrePrism().
|
private |
Definition at line 96 of file IntegrationGaussLegendrePrism.h.
Referenced by getNumberOfPoints(), and setIntegrationOrder().
|
private |
Definition at line 95 of file IntegrationGaussLegendrePrism.h.
Referenced by getIntegrationOrder(), and setIntegrationOrder().