Manicore
Library to implement schemes on n-dimensionnal manifolds.
|
Wrapper for dunavant quadrature rules. More...
#include <quad_2d.hpp>
Public Member Functions | |
QuadRuleTriangle (size_t doe) | |
Default constructor. More... | |
~QuadRuleTriangle () | |
size_t | nq () |
double | xq (size_t i) |
< More... | |
double | yq (size_t i) |
< More... | |
double | wq (size_t i) |
< More... | |
void | setup (double xV[], double yV[]) |
< More... | |
Wrapper for dunavant quadrature rules.
QuadRuleTriangle::QuadRuleTriangle | ( | size_t | doe | ) |
Default constructor.
doe | degrees of exactness (e.g. how many points for approximating integral |
QuadRuleTriangle::~QuadRuleTriangle | ( | ) |
size_t QuadRuleTriangle::nq | ( | ) |
void QuadRuleTriangle::setup | ( | double | xV[], |
double | yV[] | ||
) |
<
get the weight for a given point
double QuadRuleTriangle::wq | ( | size_t | i | ) |
<
double QuadRuleTriangle::xq | ( | size_t | i | ) |
<
returns number of points
double QuadRuleTriangle::yq | ( | size_t | i | ) |
<