![]() |
OGS
|
Gauss-Legendre quadrature rule for prisms.
Definition at line 22 of file IntegrationGaussLegendrePrism.h.
#include <IntegrationGaussLegendrePrism.h>
Public Member Functions | |
| IntegrationGaussLegendrePrism (unsigned const order) | |
| void | setIntegrationOrder (unsigned const order) |
| Change the integration order. | |
| unsigned | getIntegrationOrder () const |
| return current integration order. | |
| unsigned | getNumberOfPoints () const |
| return the number of sampling points | |
| MathLib::WeightedPoint | getWeightedPoint (unsigned const igp) const |
Static Public Member Functions | |
| static MathLib::WeightedPoint | getWeightedPoint (unsigned const order, unsigned const igp) |
| template<typename Method > | |
| static MathLib::WeightedPoint | getWeightedPoint (unsigned const igp) |
| static unsigned | getNumberOfPoints (unsigned const order) |
Private Attributes | |
| unsigned | _order {2} |
| unsigned | _n_sampl_pt {0} |
|
inlineexplicit |
Construct this object with the given integration order
| order | integration order (default 2) |
Definition at line 30 of file IntegrationGaussLegendrePrism.h.
References setIntegrationOrder().
|
inline |
return current integration order.
Definition at line 39 of file IntegrationGaussLegendrePrism.h.
References _order.
Referenced by getWeightedPoint().
|
inline |
return the number of sampling points
Definition at line 42 of file IntegrationGaussLegendrePrism.h.
References _n_sampl_pt.
Referenced by setIntegrationOrder().
|
static |
get the number of integration points
| order | the number of integration points |
Definition at line 80 of file IntegrationGaussLegendrePrism.cpp.
References OGS_FATAL.
|
inlinestatic |
Definition at line 59 of file IntegrationGaussLegendrePrism.h.
|
inline |
Get coordinates of the integration point.
| igp | The integration point index |
Definition at line 47 of file IntegrationGaussLegendrePrism.h.
References getIntegrationOrder(), and getWeightedPoint().
Referenced by getWeightedPoint().
|
static |
Get coordinates of the integration point.
| order | The number of integration points |
| igp | The integration point index |
Definition at line 55 of file IntegrationGaussLegendrePrism.cpp.
References OGS_FATAL.
| void NumLib::IntegrationGaussLegendrePrism::setIntegrationOrder | ( | unsigned const | order | ) |
Change the integration order.
Definition at line 49 of file IntegrationGaussLegendrePrism.cpp.
References _n_sampl_pt, _order, and getNumberOfPoints().
Referenced by IntegrationGaussLegendrePrism().
|
private |
Definition at line 74 of file IntegrationGaussLegendrePrism.h.
Referenced by getNumberOfPoints(), and setIntegrationOrder().
|
private |
Definition at line 73 of file IntegrationGaussLegendrePrism.h.
Referenced by getIntegrationOrder(), and setIntegrationOrder().