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
6
namespace
polyfem::quadrature
7
{
8
class
Quadrature
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
polyfem::quadrature::Quadrature
Definition
Quadrature.hpp:9
polyfem::quadrature::Quadrature::points
Eigen::MatrixXd points
Definition
Quadrature.hpp:11
polyfem::quadrature::Quadrature::size
int size() const
Definition
Quadrature.hpp:14
polyfem::quadrature::Quadrature::weights
Eigen::VectorXd weights
Definition
Quadrature.hpp:12
polyfem::quadrature
Definition
HexQuadrature.cpp:12
src
polyfem
quadrature
Quadrature.hpp
Generated by
1.9.8