Page MenuHomec4science

energy_split.cc
No OneTemporary

File Metadata

Created
Mon, Mar 31, 05:26

energy_split.cc

/* -------------------------------------------------------------------------- */
#include "energy_split.hh"
/* -------------------------------------------------------------------------- */
namespace akantu {
/* -------------------------------------------------------------------------- */
EnergySplit::EnergySplit(Real E, Real nu, bool plane_stress)
: E(E), nu(nu), plane_stress(plane_stress) {
this->lambda = this->nu * this->E / ((1 + this->nu) * (1 - 2 * this->nu));
if (this->plane_stress) {
this->lambda = this->nu * this->E / ((1 + this->nu) * (1 - this->nu));
}
this->mu = this->E / (2 * (1 + this->nu));
}
} // namespace akantu

Event Timeline