|
PolyFEM
|
Public Member Functions | |
| ThermoElasticityModelImpl () | |
| std::string | elastic_name () const override |
| std::map< std::string, Assembler::ParamFunc > | parameters () const override |
| void | set_size (const int size) override |
| void | add_multimaterial (const int index, const json ¶ms, const Units &units, const std::string &root_path) override |
| double | compute_energy (const MixedNonLinearAssemblerData &data) const override |
| Eigen::VectorXd | compute_gradient (const MixedNonLinearAssemblerData &data) const override |
| Eigen::MatrixXd | compute_hessian (const MixedNonLinearAssemblerData &data) const override |
Public Member Functions inherited from polyfem::assembler::detail::ThermoElasticityModel | |
| virtual | ~ThermoElasticityModel ()=default |
Private Member Functions | |
| int | size () const |
| int | cols () const |
| template<typename T > | |
| T | compute_energy_aux (const MixedNonLinearAssemblerData &data) const |
| double | alpha (const RowVectorNd &uv, const RowVectorNd &p, const double t, const int element_id) const |
| double | T0 (const RowVectorNd &uv, const RowVectorNd &p, const double t, const int element_id) const |
Private Attributes | |
| int | size_ = -1 |
| Elasticity | elastic_ |
| GenericMatParam | alpha_ |
| GenericMatParam | T0_ |
Definition at line 116 of file ThermoElasticity.cpp.
| polyfem::assembler::detail::ThermoElasticityModelImpl< Elasticity >::ThermoElasticityModelImpl | ( | ) |
Definition at line 157 of file ThermoElasticity.cpp.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 163 of file ThermoElasticity.cpp.
References polyfem::log_and_throw_error(), polyfem::Units::one_over_temperature(), and polyfem::Units::temperature().
|
private |
Definition at line 267 of file ThermoElasticity.cpp.
|
inlineprivate |
Definition at line 133 of file ThermoElasticity.cpp.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 201 of file ThermoElasticity.cpp.
|
private |
Definition at line 222 of file ThermoElasticity.cpp.
References polyfem::assembler::ElementAssemblyValues::basis_values, polyfem::assembler::MixedNonLinearAssemblerData::da, polyfem::assembler::ElementAssemblyValues::element_id, polyfem::F, polyfem::assembler::MixedNonLinearAssemblerData::phi_vals, polyfem::quadrature::Quadrature::points, polyfem::assembler::MixedNonLinearAssemblerData::psi_vals, polyfem::assembler::ElementAssemblyValues::quadrature, polyfem::assembler::MixedNonLinearAssemblerData::t, polyfem::assembler::ElementAssemblyValues::val, and polyfem::quadrature::Quadrature::weights.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 207 of file ThermoElasticity.cpp.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 214 of file ThermoElasticity.cpp.
|
inlineoverridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 121 of file ThermoElasticity.cpp.
References polyfem::assembler::detail::ThermoElasticityModelImpl< Elasticity >::elastic_.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 192 of file ThermoElasticity.cpp.
|
overridevirtual |
Implements polyfem::assembler::detail::ThermoElasticityModel.
Definition at line 185 of file ThermoElasticity.cpp.
|
inlineprivate |
Definition at line 132 of file ThermoElasticity.cpp.
References polyfem::assembler::detail::ThermoElasticityModelImpl< Elasticity >::size_.
|
private |
Definition at line 273 of file ThermoElasticity.cpp.
|
private |
Definition at line 143 of file ThermoElasticity.cpp.
|
private |
Definition at line 142 of file ThermoElasticity.cpp.
Referenced by polyfem::assembler::detail::ThermoElasticityModelImpl< Elasticity >::elastic_name().
|
private |
Definition at line 141 of file ThermoElasticity.cpp.
Referenced by polyfem::assembler::detail::ThermoElasticityModelImpl< Elasticity >::size().
|
private |
Definition at line 144 of file ThermoElasticity.cpp.