17 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 9, 1>
23 std::string
name()
const override {
return "IncompressibleLinearElasticity"; }
25 std::map<std::string, ParamFunc>
parameters()
const override;
32 const std::function<Eigen::MatrixXd(
const Eigen::MatrixXd &)> &fun)
const override;
42 std::string
name()
const override {
return "IncompressibleLinearElasticityMixed"; }
45 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 3, 1>
49 inline int cols()
const override {
return 1; }
59 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 9, 1>
65 std::string
name()
const override {
return "IncompressibleLinearElasticityPressure"; }
66 std::map<std::string, ParamFunc>
parameters()
const override {
return std::map<std::string, ParamFunc>(); }
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 9, 1 > assemble(const LinearAssemblerData &data) const override
local assembly function that defines the bilinear form (LHS) computes and returns a single local stif...
std::map< std::string, ParamFunc > parameters() const override
void assign_stress_tensor(const OutputData &data, const int all_size, const ElasticityTensorType &type, Eigen::MatrixXd &all, const std::function< Eigen::MatrixXd(const Eigen::MatrixXd &)> &fun) const override
void set_params(const LameParameters ¶ms)
std::string name() const override
bool allow_inversion() const override
int rows() const override
int cols() const override
std::string name() const override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > assemble(const MixedAssemblerData &data) const override
void set_params(const LameParameters ¶ms)
std::map< std::string, ParamFunc > parameters() const override
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
std::string name() const override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 9, 1 > assemble(const LinearAssemblerData &data) const override
local assembly function that defines the bilinear form (LHS) computes and returns a single local stif...
void set_size(const int size) override
assemble matrix based on the local assembler local assembler is eg Laplace, LinearElasticity etc
void assemble(const bool is_volume, const int n_basis, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &gbases, const AssemblyValsCache &cache, const double t, StiffnessMatrix &stiffness, const bool is_mass=false) const override
assembles the stiffness matrix for the given basis the bilinear form (local assembler) is encoded by ...