|
PolyFEM
|
#include <MatParams.hpp>
Public Member Functions | |
| FiberDirection () | |
| virtual | ~FiberDirection ()=default |
| void | resize (const int size) |
| void | add_multimaterial (const int index, const json ¶ms, const std::string &unit, const std::string &root_path) |
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 3, 3 > | operator() (double px, double py, double pz, double x, double y, double z, double t, int el_id) const |
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 3, 3 > | operator() (const Eigen::MatrixXd ¶m, const Eigen::MatrixXd &p, double t, int el_id) const |
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 6, 6 > | stiffness_rotation_voigt (double px, double py, double pz, double x, double y, double z, double t, int el_id) const |
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 6, 6 > | stiffness_rotation_voigt (const Eigen::MatrixXd ¶m, const Eigen::MatrixXd &p, double t, int el_id) const |
| bool | has_rotation () const |
Private Attributes | |
| std::vector< Eigen::Matrix< utils::ExpressionValue, Eigen::Dynamic, Eigen::Dynamic, 1, 3, 3 > > | dir_ |
| int | size_ |
| bool | has_rotation_ |
| std::vector< Eigen::Vector3d > | per_el_fibers_ |
| bool | use_per_element_file_ = false |
Definition at line 165 of file MatParams.hpp.
| polyfem::assembler::FiberDirection::FiberDirection | ( | ) |
Definition at line 571 of file MatParams.cpp.
|
virtualdefault |
| void polyfem::assembler::FiberDirection::add_multimaterial | ( | const int | index, |
| const json & | params, | ||
| const std::string & | unit, | ||
| const std::string & | root_path | ||
| ) |
Definition at line 658 of file MatParams.cpp.
References dir_, has_rotation_, polyfem::log_and_throw_error(), polyfem::logger(), per_el_fibers_, polyfem::utils::resolve_path(), size_, and use_per_element_file_.
Referenced by polyfem::assembler::HookeLinearElasticity::add_multimaterial().
|
inline |
Definition at line 197 of file MatParams.hpp.
References has_rotation_.
Referenced by polyfem::assembler::HookeLinearElasticity::assemble(), and polyfem::assembler::HookeLinearElasticity::assign_stress_tensor().
|
inline |
Definition at line 177 of file MatParams.hpp.
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 3, 3 > polyfem::assembler::FiberDirection::operator() | ( | double | px, |
| double | py, | ||
| double | pz, | ||
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | t, | ||
| int | el_id | ||
| ) | const |
Definition at line 588 of file MatParams.cpp.
References dir_, polyfem::log_and_throw_error(), per_el_fibers_, size_, use_per_element_file_, x, y, and z.
| void polyfem::assembler::FiberDirection::resize | ( | const int | size | ) |
Definition at line 575 of file MatParams.cpp.
Referenced by polyfem::assembler::HookeLinearElasticity::set_size().
|
inline |
Definition at line 188 of file MatParams.hpp.
References stiffness_rotation_voigt().
| Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 1, 6, 6 > polyfem::assembler::FiberDirection::stiffness_rotation_voigt | ( | double | px, |
| double | py, | ||
| double | pz, | ||
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | t, | ||
| int | el_id | ||
| ) | const |
Definition at line 622 of file MatParams.cpp.
Referenced by polyfem::assembler::HookeLinearElasticity::assemble(), polyfem::assembler::HookeLinearElasticity::assign_stress_tensor(), and stiffness_rotation_voigt().
|
private |
Definition at line 200 of file MatParams.hpp.
Referenced by add_multimaterial(), operator()(), and resize().
|
private |
Definition at line 202 of file MatParams.hpp.
Referenced by add_multimaterial(), and has_rotation().
|
private |
Definition at line 208 of file MatParams.hpp.
Referenced by add_multimaterial(), and operator()().
|
private |
Definition at line 201 of file MatParams.hpp.
Referenced by add_multimaterial(), operator()(), and resize().
|
private |
Definition at line 209 of file MatParams.hpp.
Referenced by add_multimaterial(), and operator()().