PolyFEM
Loading...
Searching...
No Matches
GeometryReader.hpp File Reference
Include dependency graph for GeometryReader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  polyfem
 
namespace  polyfem::mesh
 

Functions

std::unique_ptr< Meshpolyfem::mesh::read_fem_mesh (const Units &units, const json &j_mesh, const std::string &root_path, const bool non_conforming=false)
 read a FEM mesh from a geometry JSON
 
std::unique_ptr< Meshpolyfem::mesh::read_fem_geometry (const Units &units, const json &geometry, const std::string &root_path, const std::vector< std::string > &names=std::vector< std::string >(), const std::vector< Eigen::MatrixXd > &vertices=std::vector< Eigen::MatrixXd >(), const std::vector< Eigen::MatrixXi > &cells=std::vector< Eigen::MatrixXi >(), const bool non_conforming=false)
 read FEM meshes from a geometry JSON array (or single)
 
void polyfem::mesh::read_obstacle_mesh (const Units &units, const json &j_mesh, const std::string &root_path, const int dim, Eigen::MatrixXd &vertices, Eigen::VectorXi &codim_vertices, Eigen::MatrixXi &codim_edges, Eigen::MatrixXi &faces)
 read a obstacle mesh from a geometry JSON
 
Obstacle polyfem::mesh::read_obstacle_geometry (const Units &units, const json &geometry, const std::vector< json > &displacements, const std::vector< json > &dirichlets, const std::string &root_path, const int dim, const std::vector< std::string > &names=std::vector< std::string >(), const std::vector< Eigen::MatrixXd > &vertices=std::vector< Eigen::MatrixXd >(), const std::vector< Eigen::MatrixXi > &cells=std::vector< Eigen::MatrixXi >(), const bool non_conforming=false)
 read a FEM mesh from a geometry JSON
 
void polyfem::mesh::construct_affine_transformation (const double unit_scale, const json &transform, const VectorNd &mesh_dimensions, MatrixNd &A, VectorNd &b)
 Construct an affine transformation \(Ax+b\).