PolyFEM
|
#include <MatParams.hpp>
Public Member Functions | |
GenericMatParams (const std::string ¶m_name) | |
const GenericMatParam & | operator[] (const size_t i) const |
size_t | size () const |
void | add_multimaterial (const int index, const json ¶ms, const std::string &unit_type) |
Private Attributes | |
const std::string | param_name_ |
std::vector< GenericMatParam > | params_ |
Definition at line 26 of file MatParams.hpp.
polyfem::assembler::GenericMatParams::GenericMatParams | ( | const std::string & | param_name | ) |
Definition at line 60 of file MatParams.cpp.
void polyfem::assembler::GenericMatParams::add_multimaterial | ( | const int | index, |
const json & | params, | ||
const std::string & | unit_type | ||
) |
Definition at line 65 of file MatParams.cpp.
References polyfem::utils::json_as_array(), param_name_, and params_.
Referenced by polyfem::assembler::UnconstrainedOgdenElasticity::add_multimaterial(), and polyfem::assembler::IncompressibleOgdenElasticity::add_multimaterial().
|
inline |
Definition at line 31 of file MatParams.hpp.
References params_.
|
inline |
Definition at line 32 of file MatParams.hpp.
References params_.
Referenced by polyfem::assembler::UnconstrainedOgdenElasticity::add_multimaterial(), polyfem::assembler::IncompressibleOgdenElasticity::add_multimaterial(), polyfem::assembler::IncompressibleOgdenElasticity::num_terms(), polyfem::assembler::UnconstrainedOgdenElasticity::parameters(), and polyfem::assembler::IncompressibleOgdenElasticity::parameters().
|
private |
Definition at line 37 of file MatParams.hpp.
Referenced by add_multimaterial().
|
private |
Definition at line 38 of file MatParams.hpp.
Referenced by add_multimaterial(), operator[](), and size().