PolyFEM
|
#include <PeriodicMeshToMesh.hpp>
Public Member Functions | |
PeriodicMeshToMesh (const Eigen::MatrixXd &V) | |
int | size (const int x_size) const override |
int | input_size () const |
int | n_periodic_dof () const |
int | n_full_dof () const |
int | dim () const |
Eigen::VectorXd | eval (const Eigen::VectorXd &x) const override |
Eigen::VectorXd | inverse_eval (const Eigen::VectorXd &y) override |
Eigen::VectorXd | apply_jacobian (const Eigen::VectorXd &grad, const Eigen::VectorXd &x) const override |
int | full_to_periodic (int i) const |
Public Member Functions inherited from polyfem::solver::Parametrization | |
Parametrization () | |
virtual | ~Parametrization () |
Private Attributes | |
int | dim_ |
int | n_periodic_dof_ |
Eigen::VectorXi | dependent_map |
std::array< std::set< std::array< int, 2 > >, 3 > | periodic_dependence |
Definition at line 10 of file PeriodicMeshToMesh.hpp.
polyfem::solver::PeriodicMeshToMesh::PeriodicMeshToMesh | ( | const Eigen::MatrixXd & | V | ) |
Definition at line 7 of file PeriodicMeshToMesh.cpp.
References dependent_map, dim_, polyfem::log_and_throw_error(), n_periodic_dof_, periodic_dependence, and V.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 137 of file PeriodicMeshToMesh.cpp.
References dependent_map, dim_, polyfem::utils::flatten(), input_size(), n_periodic_dof_, periodic_dependence, polyfem::utils::unflatten(), and x.
Referenced by polyfem::solver::AdjointTools::dJ_periodic_shape_adjoint_term().
|
inline |
Definition at line 19 of file PeriodicMeshToMesh.hpp.
References dim_.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 87 of file PeriodicMeshToMesh.cpp.
References dependent_map, dim_, input_size(), periodic_dependence, size(), polyfem::utils::unflatten(), x, and y.
Referenced by inverse_eval().
|
inline |
Definition at line 25 of file PeriodicMeshToMesh.hpp.
References dependent_map.
Referenced by polyfem::solver::PeriodicContactForm::force_periodic_shape_derivative().
|
inline |
Definition at line 16 of file PeriodicMeshToMesh.hpp.
References dim_, and n_periodic_dof_.
Referenced by apply_jacobian(), eval(), inverse_eval(), and size().
|
overridevirtual |
Reimplemented from polyfem::solver::Parametrization.
Definition at line 107 of file PeriodicMeshToMesh.cpp.
References dependent_map, dim_, eval(), input_size(), polyfem::log_and_throw_adjoint_error(), periodic_dependence, polyfem::utils::unflatten(), V, x, y, and z.
|
inline |
Definition at line 18 of file PeriodicMeshToMesh.hpp.
References dependent_map.
|
inline |
Definition at line 17 of file PeriodicMeshToMesh.hpp.
References n_periodic_dof_.
|
inlineoverridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 15 of file PeriodicMeshToMesh.hpp.
References dependent_map, dim_, and input_size().
Referenced by eval().
|
private |
Definition at line 30 of file PeriodicMeshToMesh.hpp.
Referenced by apply_jacobian(), eval(), full_to_periodic(), inverse_eval(), n_full_dof(), PeriodicMeshToMesh(), and size().
|
private |
Definition at line 28 of file PeriodicMeshToMesh.hpp.
Referenced by apply_jacobian(), dim(), eval(), input_size(), inverse_eval(), PeriodicMeshToMesh(), and size().
|
private |
Definition at line 29 of file PeriodicMeshToMesh.hpp.
Referenced by apply_jacobian(), input_size(), n_periodic_dof(), and PeriodicMeshToMesh().
|
private |
Definition at line 31 of file PeriodicMeshToMesh.hpp.
Referenced by apply_jacobian(), eval(), inverse_eval(), and PeriodicMeshToMesh().