PolyFEM
Loading...
Searching...
No Matches
polyfem::quadrature::PolyhedronQuadrature Class Reference

#include <PolyhedronQuadrature.hpp>

Static Public Member Functions

static void get_quadrature (const Eigen::MatrixXd &V, const Eigen::MatrixXi &F, const Eigen::RowVector3d &kernel, const int order, Quadrature &quadr)
 Gets the quadrature points & weights for a polyhedron.
 

Detailed Description

Definition at line 10 of file PolyhedronQuadrature.hpp.

Member Function Documentation

◆ get_quadrature()

void polyfem::quadrature::PolyhedronQuadrature::get_quadrature ( const Eigen::MatrixXd &  V,
const Eigen::MatrixXi &  F,
const Eigen::RowVector3d &  kernel,
const int  order,
Quadrature quadr 
)
static

Gets the quadrature points & weights for a polyhedron.

Parameters
[in]VV x 3 input surface vertices (triangulated surface of the polyhedron)
[in]FF x 3 input surface faces
[in]kernelA point in the kernel of the polyhedron
[in]orderOrder of the quadrature
[out]quadrComputed quadrature data

Definition at line 95 of file PolyhedronQuadrature.cpp.

References polyfem::F, polyfem::quadrature::TetQuadrature::get_quadrature(), polyfem::quadrature::Quadrature::points, polyfem::mesh::tertrahedralize_star_shaped_surface(), V, polyfem::mesh::V0, and polyfem::quadrature::Quadrature::weights.

Here is the call graph for this function:

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