PolyFEM
Loading...
Searching...
No Matches
NeoHookeanElasticityAutodiff.cpp
Go to the documentation of this file.
2
3namespace polyfem::assembler
4{
8
9 void NeoHookeanAutodiff::add_multimaterial(const int index, const json &params, const Units &units)
10 {
11 params_.add_multimaterial(index, params, size() == 3, units.stress());
12 }
13} // namespace polyfem::assembler
std::string stress() const
Definition Units.hpp:25
void add_multimaterial(const int index, const json &params, const bool is_volume, const std::string &stress_unit)
void add_multimaterial(const int index, const json &params, const Units &units) override
Used for test only.
nlohmann::json json
Definition Common.hpp:9