#include <users_modules/eshelbian_plasticit/src/EshelbianOperators.hpp>
Definition at line 204 of file EshelbianOperators.hpp.
◆ OpCalculateReactionForces()
OpCalculateReactionForces::OpCalculateReactionForces |
( |
boost::shared_ptr< DataAtIntegrationPts > |
data_ptr, |
|
|
std::string |
block_name, |
|
|
Range |
block_entities, |
|
|
std::array< double, 6 > & |
reaction_vec |
|
) |
| |
|
inline |
◆ doWork()
- Examples
- EshelbianOperators.cpp.
Definition at line 823 of file EshelbianOperators.cpp.
832 int nb_integration_pts = getGaussPts().size2();
833 auto t_w = getFTensor0IntegrationWeight();
834 auto t_traction = getFTensor1FromMat<SPACE_DIM>(
dataAtPts->tractionAtPts);
835 auto t_coords = getFTensor1CoordsAtGaussPts();
836 auto t_spatial_disp = getFTensor1FromMat<SPACE_DIM>(
dataAtPts->wL2AtPts);
844 for (
auto gg = 0; gg != nb_integration_pts; ++gg) {
845 loc_reaction_forces(
i) += (t_traction(
i))*t_w * getMeasure();
846 t_coords_spatial(
i) = t_coords(
i) + t_spatial_disp(
i);
848 loc_moment_forces(
i) +=
849 (FTensor::levi_civita<double>(
i,
j,
k) * t_coords_spatial(
j)) *
850 t_traction(
k) * t_w * getMeasure();
◆ blockEntities
Range OpCalculateReactionForces::blockEntities |
|
private |
◆ blockName
std::string OpCalculateReactionForces::blockName |
|
private |
◆ dataAtPts
◆ reactionVec
std::array<double, 6>& OpCalculateReactionForces::reactionVec |
|
private |
The documentation for this struct was generated from the following files: