PolyFEM
|
#include <MatParams.hpp>
Public Member Functions | |
void | resize (const int size) |
double | operator() (int i, int j) const |
double & | operator() (int i, int j) |
void | set_from_entries (const std::vector< double > &entries, const std::string &stress_unit) |
void | set_from_lambda_mu (const double lambda, const double mu, const std::string &stress_unit) |
void | set_from_young_poisson (const double young, const double poisson, const std::string &stress_unit) |
void | set_orthotropic (double Ex, double Ey, double Ez, double nuXY, double nuXZ, double nuYZ, double muYZ, double muZX, double muXY, const std::string &stress_unit) |
void | set_orthotropic (double Ex, double Ey, double nuXY, double muXY, const std::string &stress_unit) |
template<int DIM> | |
double | compute_stress (const std::array< double, DIM > &strain, const int j) const |
Private Attributes | |
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 0, 6, 6 > | stifness_tensor_ |
int | size_ |
Definition at line 41 of file MatParams.hpp.
template double polyfem::assembler::ElasticityTensor::compute_stress< 6 > | ( | const std::array< double, DIM > & | strain, |
const int | j | ||
) | const |
Definition at line 303 of file MatParams.cpp.
Referenced by polyfem::assembler::HookeLinearElasticity::assemble(), and polyfem::assembler::HookeLinearElasticity::assign_stress_tensor().
double & polyfem::assembler::ElasticityTensor::operator() | ( | int | i, |
int | j | ||
) |
Definition at line 112 of file MatParams.cpp.
References stifness_tensor_.
double polyfem::assembler::ElasticityTensor::operator() | ( | int | i, |
int | j | ||
) | const |
Definition at line 101 of file MatParams.cpp.
References stifness_tensor_.
void polyfem::assembler::ElasticityTensor::resize | ( | const int | size | ) |
Definition at line 89 of file MatParams.cpp.
References size_, and stifness_tensor_.
Referenced by polyfem::autogen::saint_venant_2d_function(), polyfem::assembler::HookeLinearElasticity::set_size(), and polyfem::assembler::SaintVenantElasticity::set_size().
void polyfem::assembler::ElasticityTensor::set_from_entries | ( | const std::vector< double > & | entries, |
const std::string & | stress_unit | ||
) |
Definition at line 123 of file MatParams.cpp.
References entries, set_orthotropic(), and size_.
Referenced by polyfem::assembler::HookeLinearElasticity::add_multimaterial(), and polyfem::assembler::SaintVenantElasticity::add_multimaterial().
void polyfem::assembler::ElasticityTensor::set_from_lambda_mu | ( | const double | lambda, |
const double | mu, | ||
const std::string & | stress_unit | ||
) |
Definition at line 197 of file MatParams.cpp.
References size_.
Referenced by polyfem::assembler::HookeLinearElasticity::add_multimaterial(), and polyfem::assembler::SaintVenantElasticity::add_multimaterial().
void polyfem::assembler::ElasticityTensor::set_from_young_poisson | ( | const double | young, |
const double | poisson, | ||
const std::string & | stress_unit | ||
) |
Definition at line 241 of file MatParams.cpp.
References size_, and stifness_tensor_.
Referenced by polyfem::assembler::HookeLinearElasticity::add_multimaterial(), and polyfem::assembler::SaintVenantElasticity::add_multimaterial().
void polyfem::assembler::ElasticityTensor::set_orthotropic | ( | double | Ex, |
double | Ey, | ||
double | Ez, | ||
double | nuXY, | ||
double | nuXZ, | ||
double | nuYZ, | ||
double | muYZ, | ||
double | muZX, | ||
double | muXY, | ||
const std::string & | stress_unit | ||
) |
Definition at line 264 of file MatParams.cpp.
References size_, and stifness_tensor_.
Referenced by set_from_entries().
void polyfem::assembler::ElasticityTensor::set_orthotropic | ( | double | Ex, |
double | Ey, | ||
double | nuXY, | ||
double | muXY, | ||
const std::string & | stress_unit | ||
) |
Definition at line 287 of file MatParams.cpp.
References size_, and stifness_tensor_.
|
private |
Definition at line 64 of file MatParams.hpp.
Referenced by resize(), set_from_entries(), set_from_lambda_mu(), set_from_young_poisson(), set_orthotropic(), and set_orthotropic().
|
private |
Definition at line 63 of file MatParams.hpp.
Referenced by operator()(), operator()(), resize(), set_from_young_poisson(), set_orthotropic(), and set_orthotropic().