PolyFEM
Loading...
Searching...
No Matches
MVPolygonalBasis2d.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <Eigen/Dense>
8#include <vector>
9
10namespace polyfem
11{
12 namespace basis
13 {
15 {
16 public:
17 static int build_bases(
18 const std::string &assembler_name,
19 const int dim,
20 const mesh::Mesh2D &mesh,
21 const int n_bases,
22 const int quadrature_order,
23 const int mass_quadrature_order,
24 std::vector<ElementBases> &bases,
25 std::vector<mesh::LocalBoundary> &local_boundary,
26 std::map<int, Eigen::MatrixXd> &mapped_boundary);
27
28 static void meanvalue(const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &b, const double tol);
29 static void meanvalue_derivative(const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &derivatives, const double tol);
30 };
31 } // namespace basis
32} // namespace polyfem
static int build_bases(const std::string &assembler_name, const int dim, const mesh::Mesh2D &mesh, const int n_bases, const int quadrature_order, const int mass_quadrature_order, std::vector< ElementBases > &bases, std::vector< mesh::LocalBoundary > &local_boundary, std::map< int, Eigen::MatrixXd > &mapped_boundary)
static void meanvalue(const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &b, const double tol)
static void meanvalue_derivative(const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &derivatives, const double tol)