#include <users_modules/eshelbian_plasticit/src/EshelbianPlasticity.hpp>
Definition at line 846 of file EshelbianPlasticity.hpp.
◆ OpCalculateStrainEnergy()
EshelbianPlasticity::OpCalculateStrainEnergy::OpCalculateStrainEnergy |
( |
const std::string |
field_name, |
|
|
boost::shared_ptr< DataAtIntegrationPts > |
data_at_pts, |
|
|
boost::shared_ptr< double > & |
e |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 2409 of file EshelbianOperators.cpp.
2412 if (
type == MBTET) {
2413 int nb_integration_pts = data.
getN().size1();
2414 auto v = getVolume();
2415 auto t_w = getFTensor0IntegrationWeight();
2416 auto t_P = getFTensor2FromMat<3, 3>(
dataAtPts->approxPAtPts);
2417 auto t_h = getFTensor2FromMat<3, 3>(
dataAtPts->hAtPts);
2422 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
2423 const double a = t_w *
v;
2425 (*energy) +=
a * t_P(
i,
J) * t_h(
i,
J);
◆ dataAtPts
◆ energy
boost::shared_ptr<double> EshelbianPlasticity::OpCalculateStrainEnergy::energy |
|
private |
The documentation for this struct was generated from the following files: