#include <users_modules/eshelbian_plasticit/src/EshelbianPlasticity.hpp>
|
| OpSpatialEquilibrium (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > &data_ptr, const double alpha, const double rho) |
|
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, ScaleOff scale_off=[]() { return 1;}) |
|
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 497 of file EshelbianPlasticity.hpp.
◆ OpSpatialEquilibrium()
EshelbianPlasticity::OpSpatialEquilibrium::OpSpatialEquilibrium |
( |
const std::string & |
field_name, |
|
|
boost::shared_ptr< DataAtIntegrationPts > & |
data_ptr, |
|
|
const double |
alpha, |
|
|
const double |
rho |
|
) |
| |
|
inline |
◆ integrate()
Reimplemented from EshelbianPlasticity::OpAssembleBasic< VolUserDataOperator >.
Definition at line 514 of file EshelbianOperators.cpp.
517 int nb_integration_pts = data.
getN().size1();
518 auto v = getVolume();
519 auto t_w = getFTensor0IntegrationWeight();
520 auto t_div_P = getFTensor1FromMat<3>(
dataAtPts->divPAtPts);
521 auto t_s_dot_w = getFTensor1FromMat<3>(
dataAtPts->wL2DotAtPts);
522 if (
dataAtPts->wL2DotDotAtPts.size1() == 0 &&
523 dataAtPts->wL2DotDotAtPts.size2() != nb_integration_pts) {
524 dataAtPts->wL2DotDotAtPts.resize(3, nb_integration_pts);
527 auto t_s_dot_dot_w = getFTensor1FromMat<3>(
dataAtPts->wL2DotDotAtPts);
529 int nb_base_functions = data.
getN().size2();
533 auto get_ftensor1 = [](
auto &
v) {
538 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
540 auto t_nf = get_ftensor1(
nF);
542 for (; bb != nb_dofs / 3; ++bb) {
543 t_nf(
i) +=
a * t_row_base_fun * t_div_P(
i);
544 t_nf(
i) -=
a * t_row_base_fun *
alphaW * t_s_dot_w(
i);
545 t_nf(
i) -=
a * t_row_base_fun *
alphaRho * t_s_dot_dot_w(
i);
549 for (; bb != nb_base_functions; ++bb)
◆ alphaRho
const double EshelbianPlasticity::OpSpatialEquilibrium::alphaRho |
◆ alphaW
const double EshelbianPlasticity::OpSpatialEquilibrium::alphaW |
The documentation for this struct was generated from the following files: