PolyFEM
Loading...
Searching...
No Matches
Quadrature.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4#include <cassert>
5
7{
9 {
10 public:
11 Eigen::MatrixXd points;
12 Eigen::VectorXd weights;
13
14 int size() const
15 {
16 assert(points.rows() == weights.size());
17 return points.rows();
18 }
19 };
20} // namespace polyfem::quadrature