PolyFEM
|
#include <VariableToSimulation.hpp>
Public Member Functions | |
virtual | ~ElasticVariableToSimulation () |
std::string | name () const override |
ParameterType | get_parameter_type () const override |
Eigen::VectorXd | compute_adjoint_term (const Eigen::VectorXd &x) const override |
Eigen::VectorXd | inverse_eval () override |
VariableToSimulation (const std::vector< std::shared_ptr< State > > &states, const CompositeParametrization ¶metrization) | |
VariableToSimulation (const std::shared_ptr< State > &state, const CompositeParametrization ¶metrization) | |
Public Member Functions inherited from polyfem::solver::VariableToSimulation | |
VariableToSimulation (const std::vector< std::shared_ptr< State > > &states, const CompositeParametrization ¶metrization) | |
VariableToSimulation (const std::shared_ptr< State > &state, const CompositeParametrization ¶metrization) | |
virtual | ~VariableToSimulation () |
virtual void | update (const Eigen::VectorXd &x) |
int | n_states () const |
const std::vector< std::shared_ptr< State > > & | get_states () const |
CompositeParametrization & | get_parametrization () |
virtual void | set_output_indexing (const json &args) |
Eigen::VectorXi | get_output_indexing (const Eigen::VectorXd &x) const |
virtual Eigen::VectorXd | apply_parametrization_jacobian (const Eigen::VectorXd &term, const Eigen::VectorXd &x) const |
Protected Member Functions | |
void | update_state (const Eigen::VectorXd &state_variable, const Eigen::VectorXi &indices) override |
Additional Inherited Members | |
Static Public Member Functions inherited from polyfem::solver::VariableToSimulation | |
static std::unique_ptr< VariableToSimulation > | create (const std::string &type, const std::vector< std::shared_ptr< State > > &states, CompositeParametrization &¶metrization) |
Protected Attributes inherited from polyfem::solver::VariableToSimulation | |
const std::vector< std::shared_ptr< State > > | states_ |
CompositeParametrization | parametrization_ |
Eigen::VectorXi | output_indexing_ |
Definition at line 121 of file VariableToSimulation.hpp.
|
inlinevirtual |
Definition at line 125 of file VariableToSimulation.hpp.
|
overridevirtual |
Implements polyfem::solver::VariableToSimulation.
Definition at line 235 of file VariableToSimulation.cpp.
References polyfem::solver::VariableToSimulation::apply_parametrization_jacobian(), polyfem::solver::AdjointTools::dJ_material_static_adjoint_term(), polyfem::solver::AdjointTools::dJ_material_transient_adjoint_term(), polyfem::solver::VariableToSimulation::states_, and x.
|
inlineoverridevirtual |
Implements polyfem::solver::VariableToSimulation.
Definition at line 129 of file VariableToSimulation.hpp.
References polyfem::solver::LameParameter.
|
overridevirtual |
Reimplemented from polyfem::solver::VariableToSimulation.
Definition at line 252 of file VariableToSimulation.cpp.
References polyfem::mesh::Mesh::cell_barycenter(), polyfem::mesh::Mesh2D::face_barycenter(), polyfem::solver::CompositeParametrization::inverse_eval(), polyfem::log_and_throw_adjoint_error(), name(), polyfem::solver::VariableToSimulation::parametrization_, and polyfem::solver::VariableToSimulation::states_.
|
inlineoverridevirtual |
Implements polyfem::solver::VariableToSimulation.
Definition at line 127 of file VariableToSimulation.hpp.
Referenced by inverse_eval().
|
overrideprotectedvirtual |
Reimplemented from polyfem::solver::VariableToSimulation.
Definition at line 226 of file VariableToSimulation.cpp.
References polyfem::solver::VariableToSimulation::states_.
|
inline |
Definition at line 16 of file VariableToSimulation.hpp.
|
inline |
Definition at line 15 of file VariableToSimulation.hpp.