PolyFEM
Loading...
Searching...
No Matches
BarycentricBasis2d.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 const std::function<void(const Eigen::MatrixXd &, const Eigen::RowVector2d &, Eigen::MatrixXd &, const double)> bc,
25 const std::function<void(const Eigen::MatrixXd &, const Eigen::RowVector2d &, Eigen::MatrixXd &, const double)> bc_prime,
26 std::vector<ElementBases> &bases,
27 std::vector<mesh::LocalBoundary> &local_boundary,
28 std::map<int, Eigen::MatrixXd> &mapped_boundary);
29 };
30 } // namespace basis
31} // 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, const std::function< void(const Eigen::MatrixXd &, const Eigen::RowVector2d &, Eigen::MatrixXd &, const double)> bc, const std::function< void(const Eigen::MatrixXd &, const Eigen::RowVector2d &, Eigen::MatrixXd &, const double)> bc_prime, std::vector< ElementBases > &bases, std::vector< mesh::LocalBoundary > &local_boundary, std::map< int, Eigen::MatrixXd > &mapped_boundary)