PolyFEM
|
#include <Parametrizations.hpp>
Public Member Functions | |
InsertConstantMap (const int size=-1, const double val=0, const int start_index=-1) | |
InsertConstantMap (const Eigen::VectorXd &values, const int start_index=-1) | |
int | size (const int x_size) const override |
Eigen::VectorXd | inverse_eval (const Eigen::VectorXd &y) 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 () |
Private Attributes | |
int | start_index_ = -1 |
Eigen::VectorXd | values_ |
Definition at line 139 of file Parametrizations.hpp.
polyfem::solver::InsertConstantMap::InsertConstantMap | ( | const int | size = -1 , |
const double | val = 0 , |
||
const int | start_index = -1 |
||
) |
Definition at line 352 of file Parametrizations.cpp.
References polyfem::log_and_throw_adjoint_error(), size(), val, and values_.
polyfem::solver::InsertConstantMap::InsertConstantMap | ( | const Eigen::VectorXd & | values, |
const int | start_index = -1 |
||
) |
Definition at line 359 of file Parametrizations.cpp.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 398 of file Parametrizations.cpp.
References start_index_, values_, and x.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 382 of file Parametrizations.cpp.
References size(), start_index_, values_, x, and y.
|
overridevirtual |
Reimplemented from polyfem::solver::Parametrization.
Definition at line 368 of file Parametrizations.cpp.
References start_index_, values_, x, and y.
|
overridevirtual |
Implements polyfem::solver::Parametrization.
Definition at line 363 of file Parametrizations.cpp.
References values_.
Referenced by eval(), and InsertConstantMap().
|
private |
Definition at line 153 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), and inverse_eval().
|
private |
Definition at line 154 of file Parametrizations.hpp.
Referenced by apply_jacobian(), eval(), InsertConstantMap(), inverse_eval(), and size().