PolyFEM
|
#include <PolygonQuadrature.hpp>
Public Member Functions | |
PolygonQuadrature () | |
void | get_quadrature (const Eigen::MatrixXd &poly, const int order, Quadrature &quadr) |
Gets the quadrature points & weights for a polygon. | |
Definition at line 9 of file PolygonQuadrature.hpp.
polyfem::quadrature::PolygonQuadrature::PolygonQuadrature | ( | ) |
Definition at line 60 of file PolygonQuadrature.cpp.
void polyfem::quadrature::PolygonQuadrature::get_quadrature | ( | const Eigen::MatrixXd & | poly, |
const int | order, | ||
Quadrature & | quadr | ||
) |
Gets the quadrature points & weights for a polygon.
[in] | poly | n x 2 matrix, coordinates of the polyline defining the boundary of the polygon |
[in] | order | order of the quadrature (ignored for now) |
[out] | quadr | computed quadrature data |
Definition at line 64 of file PolygonQuadrature.cpp.
References polyfem::quadrature::TriQuadrature::get_quadrature(), and polyfem::quadrature::Quadrature::weights.
Referenced by polyfem::basis::PolygonalBasis2d::build_bases(), and polyfem::basis::BarycentricBasis2d::build_bases().