PolyFEM
Loading...
Searching...
No Matches
polyfem::basis::BarycentricBasis2d Class Reference

#include <BarycentricBasis2d.hpp>

Static Public Member Functions

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)
 

Detailed Description

Definition at line 14 of file BarycentricBasis2d.hpp.

Member Function Documentation

◆ build_bases()

int polyfem::basis::BarycentricBasis2d::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 
)
static

Definition at line 116 of file BarycentricBasis2d.cpp.

References polyfem::mesh::Mesh::face_vertex(), polyfem::mesh::Mesh2D::get_index_from_face(), polyfem::quadrature::PolygonQuadrature::get_quadrature(), polyfem::mesh::Mesh::is_polytope(), polyfem::mesh::Mesh2D::is_volume(), polyfem::mesh::Mesh::n_elements(), polyfem::mesh::Mesh::n_face_vertices(), polyfem::mesh::Mesh::point(), polyfem::assembler::AssemblerUtils::quadrature_order(), and val.

Referenced by polyfem::basis::MVPolygonalBasis2d::build_bases(), and polyfem::basis::WSPolygonalBasis2d::build_bases().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: