PolyFEM
Loading...
Searching...
No Matches
polyfem::varform::GeometryMapping Class Reference

#include <FESpace.hpp>

Public Member Functions

void init_from_fe_space (const FESpace &space)
 
void reset ()
 

Public Attributes

int n_bases = 0
 Number of globally indexed scalar geometry basis functions.
 
std::shared_ptr< std::vector< basis::ElementBases > > bases
 Per-element scalar bases used to interpolate physical coordinates.
 
Eigen::VectorXi disc_orders
 Polynomial degree of the geometry mapping on each mesh element.
 
std::map< int, Eigen::MatrixXd > polys
 Physical boundary samples for 2D polygonal elements.
 
std::map< int, std::pair< Eigen::MatrixXd, Eigen::MatrixXi > > polys_3d
 Physical vertices and face connectivity for 3D polyhedral elements.
 
std::shared_ptr< mesh::MeshNodesmesh_nodes
 Optional primitive-to-node mapping for the geometry bases.
 

Detailed Description

Definition at line 23 of file FESpace.hpp.

Member Function Documentation

◆ init_from_fe_space()

◆ reset()

void polyfem::varform::GeometryMapping::reset ( )
inline

Definition at line 46 of file FESpace.hpp.

References bases, disc_orders, mesh_nodes, n_bases, polys, and polys_3d.

Member Data Documentation

◆ bases

std::shared_ptr<std::vector<basis::ElementBases> > polyfem::varform::GeometryMapping::bases

Per-element scalar bases used to interpolate physical coordinates.

Definition at line 30 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().

◆ disc_orders

Eigen::VectorXi polyfem::varform::GeometryMapping::disc_orders

Polynomial degree of the geometry mapping on each mesh element.

Definition at line 33 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().

◆ mesh_nodes

std::shared_ptr<mesh::MeshNodes> polyfem::varform::GeometryMapping::mesh_nodes

Optional primitive-to-node mapping for the geometry bases.

Definition at line 42 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().

◆ n_bases

int polyfem::varform::GeometryMapping::n_bases = 0

Number of globally indexed scalar geometry basis functions.

Definition at line 27 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().

◆ polys

std::map<int, Eigen::MatrixXd> polyfem::varform::GeometryMapping::polys

Physical boundary samples for 2D polygonal elements.

Definition at line 36 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().

◆ polys_3d

std::map<int, std::pair<Eigen::MatrixXd, Eigen::MatrixXi> > polyfem::varform::GeometryMapping::polys_3d

Physical vertices and face connectivity for 3D polyhedral elements.

Definition at line 39 of file FESpace.hpp.

Referenced by init_from_fe_space(), and reset().


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