PolyFEM
|
#include <Parametrizations.hpp>
Public Member Functions | |
PerBody2PerElem (const mesh::Mesh &mesh) | |
int | size (const int x_size) const override |
Eigen::VectorXd | eval (const Eigen::VectorXd &x) const override |
Eigen::VectorXd | apply_jacobian (const Eigen::VectorXd &grad, const Eigen::VectorXd &x) const override |
Public Member Functions inherited from polyfem::solver::Parametrization | |
Parametrization () | |
virtual | ~Parametrization () |
virtual Eigen::VectorXd | inverse_eval (const Eigen::VectorXd &y) |
Private Attributes | |
const mesh::Mesh & | mesh_ |
int | full_size_ |
int | reduced_size_ |
std::map< int, std::array< int, 2 > > | body_id_map_ |
Definition at line 108 of file Parametrizations.hpp.
polyfem::solver::PerBody2PerElem::PerBody2PerElem | ( | const mesh::Mesh & | mesh | ) |
Definition at line 265 of file Parametrizations.cpp.
References body_id_map_, polyfem::mesh::Mesh::get_body_id(), polyfem::logger(), polyfem::mesh::Mesh::n_elements(), and reduced_size_.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 302 of file Parametrizations.cpp.
References body_id_map_, full_size_, polyfem::mesh::Mesh::get_body_id(), mesh_, polyfem::mesh::Mesh::n_elements(), reduced_size_, size(), and x.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 280 of file Parametrizations.cpp.
References body_id_map_, full_size_, polyfem::mesh::Mesh::get_body_id(), mesh_, polyfem::mesh::Mesh::n_elements(), reduced_size_, size(), x, and y.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 296 of file Parametrizations.cpp.
References full_size_, and reduced_size_.
Referenced by apply_jacobian(), and eval().
|
private |
Definition at line 121 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), and PerBody2PerElem().
|
private |
Definition at line 119 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), and size().
|
private |
Definition at line 118 of file Parametrizations.hpp.
Referenced by apply_jacobian(), and eval().
|
private |
Definition at line 120 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), PerBody2PerElem(), and size().