|
PolyFEM
|
Public Member Functions | |
| void | set_size (const int size) |
| void | add_multimaterial (const int index, const json ¶ms, const Units &units, const io::ResourceIO &resources) |
| std::map< std::string, Assembler::ParamFunc > | parameters () const |
| template<typename T > | |
| T | compute_energy_aux (const MixedNonLinearAssemblerData &data) const |
| double | driving_force (const int el_id, const RowVectorNd &pos, const double t, const Eigen::Matrix3d &Ce) const |
| Eigen::Vector3d | wall_normal (const int el_id) const |
| void | grown_stresses (const int el_id, const RowVectorNd &pos, const double t, const Eigen::Matrix3d &F, const double theta, Eigen::Matrix3d &cauchy, Eigen::Matrix3d &pk1, Eigen::Matrix3d &pk2, double &energy) const |
Private Member Functions | |
| template<typename Child > | |
| void | add_child (std::vector< std::unique_ptr< Child > > &list, const int index, const json &child, const Units &units, const io::ResourceIO &resources) |
| template<typename T > | |
| T | sum_energy (const RowVectorNd &p, const double t, const int el_id, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, 0, 3, 3 > &F) const |
| Eigen::Vector3d | n0 (const int el_id) const |
| double | vn (const int el_id) const |
Private Attributes | |
| int | size_ = -1 |
| std::vector< std::unique_ptr< IsochoricNeoHookean > > | iso_ |
| std::vector< std::unique_ptr< HGODispersion > > | fiber_ |
| std::vector< std::unique_ptr< VolumePenalty > > | vol_ |
| Eigen::MatrixXd | normals_ |
| Eigen::Vector3d | constant_n0_ {0.0, 0.0, 1.0} |
| Eigen::MatrixXd | vn_ |
| double | constant_vn_ = 1.0 |
Definition at line 210 of file GrowthElasticity.cpp.
|
inlineprivate |
Definition at line 458 of file GrowthElasticity.cpp.
References size_.
Referenced by add_multimaterial().
|
inline |
Definition at line 224 of file GrowthElasticity.cpp.
References add_child(), constant_n0_, constant_vn_, fiber_, iso_, polyfem::log_and_throw_error(), polyfem::assembler::MATERIAL_ELEMENT_INDEX, normals_, polyfem::assembler::read_growth_cell_array(), vn_, and vol_.
Referenced by polyfem::assembler::GrowthElasticity::add_multimaterial().
|
inline |
Definition at line 309 of file GrowthElasticity.cpp.
References polyfem::assembler::ElementAssemblyValues::basis_values, polyfem::assembler::MixedNonLinearAssemblerData::da, polyfem::assembler::ElementAssemblyValues::element_id, polyfem::F, polyfem::log_and_throw_error(), n0(), polyfem::assembler::MixedNonLinearAssemblerData::phi_vals, polyfem::assembler::MixedNonLinearAssemblerData::psi_vals, polyfem::assembler::ElementAssemblyValues::quadrature, size_, polyfem::assembler::MixedNonLinearAssemblerData::t, polyfem::assembler::ElementAssemblyValues::val, vn(), and polyfem::quadrature::Quadrature::weights.
Referenced by polyfem::assembler::GrowthElasticity::compute_energy(), polyfem::assembler::GrowthElasticity::compute_gradient(), and polyfem::assembler::GrowthElasticity::compute_hessian().
|
inline |
Definition at line 377 of file GrowthElasticity.cpp.
References polyfem::log_and_throw_error(), n0(), DiffScalarBase::setVariableCount(), and size_.
Referenced by polyfem::assembler::GrowthElasticity::driving_force().
|
inline |
Definition at line 413 of file GrowthElasticity.cpp.
References polyfem::F, J, polyfem::log_and_throw_error(), n0(), DiffScalarBase::setVariableCount(), size_, and vn().
Referenced by polyfem::assembler::GrowthElasticity::grown_stresses().
|
inlineprivate |
Definition at line 487 of file GrowthElasticity.cpp.
References constant_n0_, polyfem::log_and_throw_error(), and normals_.
Referenced by compute_energy_aux(), driving_force(), grown_stresses(), and wall_normal().
|
inline |
Definition at line 299 of file GrowthElasticity.cpp.
References vn().
Referenced by polyfem::assembler::GrowthElasticity::parameters().
|
inline |
Definition at line 213 of file GrowthElasticity.cpp.
References fiber_, iso_, size_, and vol_.
Referenced by polyfem::assembler::GrowthElasticity::set_size().
|
inlineprivate |
Definition at line 474 of file GrowthElasticity.cpp.
References polyfem::F, fiber_, iso_, and vol_.
|
inlineprivate |
Definition at line 500 of file GrowthElasticity.cpp.
References constant_vn_, polyfem::log_and_throw_error(), and vn_.
Referenced by compute_energy_aux(), grown_stresses(), and parameters().
|
inline |
Definition at line 411 of file GrowthElasticity.cpp.
References n0().
Referenced by polyfem::assembler::GrowthElasticity::wall_normal().
|
private |
Definition at line 522 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), and n0().
|
private |
Definition at line 524 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), and vn().
|
private |
Definition at line 518 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), set_size(), and sum_energy().
|
private |
Definition at line 517 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), set_size(), and sum_energy().
|
private |
Definition at line 521 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), and n0().
|
private |
Definition at line 513 of file GrowthElasticity.cpp.
Referenced by add_child(), compute_energy_aux(), driving_force(), grown_stresses(), and set_size().
|
private |
Definition at line 523 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), and vn().
|
private |
Definition at line 519 of file GrowthElasticity.cpp.
Referenced by add_multimaterial(), set_size(), and sum_energy().