#include <users_modules/eshelbian_plasticit/src/EshelbianOperators.hpp>
Definition at line 187 of file EshelbianOperators.hpp.
◆ OpCalculateTractionFromSideEl()
OpCalculateTractionFromSideEl::OpCalculateTractionFromSideEl |
( |
boost::shared_ptr< DataAtIntegrationPts > |
data_ptr | ) |
|
|
inline |
Definition at line 188 of file EshelbianOperators.hpp.
191 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
192 for (
auto t = moab::CN::TypeDimensionMap[
SPACE_DIM].first;
193 t <= moab::CN::TypeDimensionMap[
SPACE_DIM].second; ++
t)
194 doEntities[
t] =
true;
◆ doWork()
- Examples
- EshelbianOperators.cpp.
Definition at line 793 of file EshelbianOperators.cpp.
799 auto n_total_side_eles = getLoopSize();
800 auto N_InLoop = getNinTheLoop();
801 auto sensee = getSkeletonSense();
802 auto nb_gauss_pts = getGaussPts().size2();
803 auto t_normal = getFTensor1NormalsAtGaussPts();
806 getFTensor2FromMat<SPACE_DIM, SPACE_DIM>(
dataAtPts->approxPAtPts);
811 auto t_traction = getFTensor1FromMat<SPACE_DIM>(
dataAtPts->tractionAtPts);
813 for (
int gg = 0; gg != nb_gauss_pts; gg++) {
814 t_traction(
i) = t_sigma_ptr(
i,
j) * sensee * (t_normal(
j) / t_normal.l2());
◆ dataAtPts
The documentation for this struct was generated from the following files: