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

#include <WSPolygonalBasis2d.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, std::vector< ElementBases > &bases, std::vector< mesh::LocalBoundary > &local_boundary, std::map< int, Eigen::MatrixXd > &mapped_boundary)
 
static void wachspress (const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &b, const double tol)
 
static void wachspress_derivative (const Eigen::MatrixXd &polygon, const Eigen::RowVector2d &point, Eigen::MatrixXd &derivatives, const double tol)
 

Detailed Description

Definition at line 14 of file WSPolygonalBasis2d.hpp.

Member Function Documentation

◆ build_bases()

int polyfem::basis::WSPolygonalBasis2d::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

Definition at line 186 of file WSPolygonalBasis2d.cpp.

References polyfem::basis::BarycentricBasis2d::build_bases(), wachspress(), and wachspress_derivative().

Referenced by polyfem::State::build_polygonal_basis().

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

◆ wachspress()

void polyfem::basis::WSPolygonalBasis2d::wachspress ( const Eigen::MatrixXd &  polygon,
const Eigen::RowVector2d &  point,
Eigen::MatrixXd &  b,
const double  tol 
)
static

Definition at line 23 of file WSPolygonalBasis2d.cpp.

Referenced by build_bases().

Here is the caller graph for this function:

◆ wachspress_derivative()

void polyfem::basis::WSPolygonalBasis2d::wachspress_derivative ( const Eigen::MatrixXd &  polygon,
const Eigen::RowVector2d &  point,
Eigen::MatrixXd &  derivatives,
const double  tol 
)
static

Definition at line 94 of file WSPolygonalBasis2d.cpp.

Referenced by build_bases().

Here is the caller graph for this function:

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