|
PolyFEM
|
#include <MatParams.hpp>
Public Member Functions | |
| ThermalMassDensity () | |
| void | add_multimaterial (const int index, const json ¶ms, const std::string &density_unit, const std::string &root_path) override |
| void | add_multimaterial (const int index, const json ¶ms, const std::string &density_unit, const std::string &heat_capacity_unit, const std::string &root_path) |
| double | operator() (double px, double py, double pz, double x, double y, double z, double t, int el_id) const override |
| double | rho (const RowVectorNd &p, double t, int el_id) const |
| double | heat_capacity (const RowVectorNd &p, double t, int el_id) const |
Public Member Functions inherited from polyfem::assembler::Density | |
| Density () | |
| virtual | ~Density ()=default |
| virtual double | operator() (const Eigen::MatrixXd ¶m, const Eigen::MatrixXd &p, double t, int el_id) const |
Private Attributes | |
| GenericMatParam | rho_ |
| GenericMatParam | heat_capacity_ |
Definition at line 146 of file MatParams.hpp.
| polyfem::assembler::ThermalMassDensity::ThermalMassDensity | ( | ) |
Definition at line 484 of file MatParams.cpp.
| void polyfem::assembler::ThermalMassDensity::add_multimaterial | ( | const int | index, |
| const json & | params, | ||
| const std::string & | density_unit, | ||
| const std::string & | heat_capacity_unit, | ||
| const std::string & | root_path | ||
| ) |
Definition at line 494 of file MatParams.cpp.
References polyfem::assembler::GenericMatParam::add_multimaterial(), heat_capacity_, and rho_.
|
overridevirtual |
Reimplemented from polyfem::assembler::Density.
Definition at line 489 of file MatParams.cpp.
References add_multimaterial().
Referenced by add_multimaterial().
| double polyfem::assembler::ThermalMassDensity::heat_capacity | ( | const RowVectorNd & | p, |
| double | t, | ||
| int | el_id | ||
| ) | const |
Definition at line 515 of file MatParams.cpp.
References heat_capacity_.
Referenced by operator()().
|
overridevirtual |
Reimplemented from polyfem::assembler::Density.
Definition at line 500 of file MatParams.cpp.
References heat_capacity(), heat_capacity_, rho(), rho_, x, y, and z.
| double polyfem::assembler::ThermalMassDensity::rho | ( | const RowVectorNd & | p, |
| double | t, | ||
| int | el_id | ||
| ) | const |
Definition at line 510 of file MatParams.cpp.
References rho_.
Referenced by operator()().
|
private |
Definition at line 162 of file MatParams.hpp.
Referenced by add_multimaterial(), heat_capacity(), and operator()().
|
private |
Definition at line 161 of file MatParams.hpp.
Referenced by add_multimaterial(), operator()(), and rho().