PolyFEM
Loading...
Searching...
No Matches
RefElementSampler.cpp File Reference
#include "RefElementSampler.hpp"
#include <polyfem/mesh/MeshUtils.hpp>
#include <igl/predicates/ear_clipping.h>
#include <igl/edges.h>
#include <igl/boundary_loop.h>
#include <igl/doublearea.h>
#include <igl/upsample.h>
#include <cassert>
Include dependency graph for RefElementSampler.cpp:

Go to the source code of this file.

Namespaces

namespace  polyfem
 
namespace  polyfem::utils
 

Functions

void polyfem::utils::regular_2d_grid (const int n, bool tri, Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 Generate a canonical triangle/quad subdivided from a regular grid.
 
void polyfem::utils::regular_3d_grid (const int nn, bool tet, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &T)
 Generate a canonical tet/hex subdivided from a regular grid.