PolyFEM
|
#include <Parametrizations.hpp>
Public Member Functions | |
PerBody2PerNode (const mesh::Mesh &mesh, const std::vector< basis::ElementBases > &bases, const int n_bases) | |
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_ |
const std::vector< basis::ElementBases > & | bases_ |
int | full_size_ |
int | reduced_size_ |
Eigen::VectorXi | node_id_to_body_id_ |
Definition at line 91 of file Parametrizations.hpp.
polyfem::solver::PerBody2PerNode::PerBody2PerNode | ( | const mesh::Mesh & | mesh, |
const std::vector< basis::ElementBases > & | bases, | ||
const int | n_bases | ||
) |
Definition at line 190 of file Parametrizations.cpp.
References full_size_, polyfem::mesh::Mesh::get_body_id(), polyfem::log_and_throw_adjoint_error(), polyfem::logger(), mesh_, polyfem::mesh::Mesh::n_elements(), node_id_to_body_id_, and reduced_size_.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 247 of file Parametrizations.cpp.
References full_size_, node_id_to_body_id_, reduced_size_, size(), and x.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 224 of file Parametrizations.cpp.
References full_size_, node_id_to_body_id_, reduced_size_, size(), x, and y.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 241 of file Parametrizations.cpp.
References full_size_, and reduced_size_.
Referenced by apply_jacobian(), and eval().
|
private |
Definition at line 102 of file Parametrizations.hpp.
|
private |
Definition at line 103 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), PerBody2PerNode(), and size().
|
private |
Definition at line 101 of file Parametrizations.hpp.
Referenced by PerBody2PerNode().
|
private |
Definition at line 105 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), and PerBody2PerNode().
|
private |
Definition at line 104 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), PerBody2PerNode(), and size().