PolyFEM
|
#include <MatParams.hpp>
Public Member Functions | |
GenericMatParam (const std::string ¶m_name) | |
double | operator() (const RowVectorNd &p, double t, int index) const |
double | operator() (double x, double y, double z, double t, int index) const |
void | add_multimaterial (const int index, const json ¶ms, const std::string &unit_type) |
Private Attributes | |
const std::string | param_name_ |
std::vector< utils::ExpressionValue > | param_ |
Friends | |
class | GenericMatParams |
Definition at line 9 of file MatParams.hpp.
polyfem::assembler::GenericMatParam::GenericMatParam | ( | const std::string & | param_name | ) |
Definition at line 23 of file MatParams.cpp.
void polyfem::assembler::GenericMatParam::add_multimaterial | ( | const int | index, |
const json & | params, | ||
const std::string & | unit_type | ||
) |
Definition at line 28 of file MatParams.cpp.
References param_, and param_name_.
Referenced by polyfem::assembler::Helmholtz::add_multimaterial(), polyfem::assembler::MooneyRivlin3ParamElasticity::add_multimaterial(), polyfem::assembler::MooneyRivlin3ParamSymbolic::add_multimaterial(), polyfem::assembler::MooneyRivlinElasticity::add_multimaterial(), polyfem::assembler::NavierStokesVelocity::add_multimaterial(), polyfem::assembler::IncompressibleOgdenElasticity::add_multimaterial(), and polyfem::assembler::StokesVelocity::add_multimaterial().
double polyfem::assembler::GenericMatParam::operator() | ( | const RowVectorNd & | p, |
double | t, | ||
int | index | ||
) | const |
Definition at line 42 of file MatParams.cpp.
double polyfem::assembler::GenericMatParam::operator() | ( | double | x, |
double | y, | ||
double | z, | ||
double | t, | ||
int | index | ||
) | const |
|
friend |
Definition at line 23 of file MatParams.hpp.
|
private |
Definition at line 21 of file MatParams.hpp.
Referenced by add_multimaterial(), and operator()().
|
private |
Definition at line 20 of file MatParams.hpp.
Referenced by add_multimaterial().