#include "users_modules/eshelbian_plasticity/src/EshelbianPlasticity.hpp"
Definition at line 281 of file EshelbianPlasticity.hpp.
◆ OpCalculateEshelbyStress()
EshelbianPlasticity::OpCalculateEshelbyStress::OpCalculateEshelbyStress |
( |
boost::shared_ptr< DataAtIntegrationPts > | data_ptr | ) |
|
|
inline |
◆ doWork()
- Examples
- EshelbianOperators.cpp.
Definition at line 66 of file EshelbianOperators.cpp.
67 {
72
73 int nb_integration_pts = getGaussPts().size2();
74
78
80 false);
81 auto t_eshelby_stress =
83
85
86 for (auto gg = 0; gg != nb_integration_pts; ++gg) {
87 t_eshelby_stress(
i,
j) = t_energy *
t_kd(
i,
j) - t_F(
m,
i) * t_P(
m,
j);
88 ++t_energy;
89 ++t_P;
90 ++t_F;
91 ++t_eshelby_stress;
92 }
93
95}
#define FTENSOR_INDEX(DIM, I)
Kronecker Delta class symmetric.
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j
FTensor::Tensor2< FTensor::PackPtr< double *, 1 >, Tensor_Dim1, Tensor_Dim2 > getFTensor2FromMat(MatrixDouble &data)
Get tensor rank 2 (matrix) form data matrix.
static auto getFTensor0FromVec(ublas::vector< T, A > &data)
Get tensor rank 0 (scalar) form data vector.
FTensor::Index< 'm', 3 > m
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
◆ dataAtPts
The documentation for this struct was generated from the following files: