#include <users_modules/eshelbian_plasticty/src/EshelbianPlasticity.hpp>
|
| OpSpatialPhysical (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > &data_ptr, const double alpha) |
|
MoFEMErrorCode | integrate (EntData &data) |
|
| OpAssembleVolume (const std::string &field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type) |
|
| OpAssembleVolume (const std::string &row_field, const std::string &col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type, const bool assemble_symmetry) |
|
| OpAssembleBasic (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type) |
|
| OpAssembleBasic (const std::string &row_field, const std::string &col_field, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const char type, const bool assemble_symmetry) |
|
virtual MoFEMErrorCode | integrate (int row_side, EntityType row_type, EntData &data) |
|
virtual MoFEMErrorCode | integrate (EntData &row_data, EntData &col_data) |
|
virtual MoFEMErrorCode | assemble (EntData &data) |
|
virtual MoFEMErrorCode | assemble (int row_side, EntityType row_type, EntData &data) |
|
virtual MoFEMErrorCode | assemble (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data) |
|
MoFEMErrorCode | doWork (int side, EntityType type, EntData &data) |
|
MoFEMErrorCode | doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data) |
|
Definition at line 786 of file EshelbianPlasticity.hpp.
◆ OpSpatialPhysical()
EshelbianPlasticity::OpSpatialPhysical::OpSpatialPhysical |
( |
const std::string & |
field_name, |
|
|
boost::shared_ptr< DataAtIntegrationPts > & |
data_ptr, |
|
|
const double |
alpha |
|
) |
| |
◆ integrate()
Reimplemented from EshelbianPlasticity::OpAssembleBasic< VolUserDataOperator >.
Definition at line 341 of file EshelbianOperators.cpp.
344 int nb_integration_pts = data.
getN().size1();
345 auto v = getVolume();
346 auto t_w = getFTensor0IntegrationWeight();
347 auto t_approx_P = getFTensor2FromMat<3, 3>(
dataAtPts->approxPAtPts);
348 auto t_P = getFTensor2FromMat<3, 3>(
dataAtPts->PAtPts);
349 auto t_R = getFTensor2FromMat<3, 3>(
dataAtPts->rotMatAtPts);
351 getFTensor2SymmetricFromMat<3>(
dataAtPts->logStreachDotTensorAtPts);
353 getFTensor4DdgFromMat<3, 3, 1>(
dataAtPts->diffStreachTensorAtPts);
359 auto get_ftensor2 = [](
auto &v) {
361 &v[0], &v[1], &v[2], &v[3], &v[4], &v[5]);
364 int nb_base_functions = data.
getN().size2();
366 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
368 auto t_nf = get_ftensor2(
nF);
371 t_RTP(
i,
j) = t_R(
k,
i) * t_approx_P(
k,
j);
373 t_deltaP(
i,
j) = t_RTP(
i,
j) - t_P(
i,
j);
376 t_viscous_stress(
i,
j) =
alphaU * t_dot_log_u(
i,
j);
380 a * (t_diff_u(
k,
l,
i,
j) * (t_deltaP(
k,
l) - t_viscous_stress(
k,
l)));
383 for (; bb != nb_dofs / 6; ++bb) {
385 t_nf(
i,
j) += t_row_base_fun * t1(
i,
j);
390 for (; bb != nb_base_functions; ++bb)
◆ alphaU
const double EshelbianPlasticity::OpSpatialPhysical::alphaU |
The documentation for this struct was generated from the following files: