#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 (std::string row_field, 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 (std::string row_field, 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 569 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 538 of file EshelbianOperators.cpp.
541 int nb_integration_pts = data.
getN().size1();
542 auto v = getVolume();
543 auto t_w = getFTensor0IntegrationWeight();
544 auto t_div_P = getFTensor1FromMat<3>(
dataAtPts->divPAtPts);
545 auto t_s_dot_w = getFTensor1FromMat<3>(
dataAtPts->wL2DotAtPts);
546 if (
dataAtPts->wL2DotDotAtPts.size1() == 0 &&
547 dataAtPts->wL2DotDotAtPts.size2() != nb_integration_pts) {
548 dataAtPts->wL2DotDotAtPts.resize(3, nb_integration_pts);
551 auto t_s_dot_dot_w = getFTensor1FromMat<3>(
dataAtPts->wL2DotDotAtPts);
553 int nb_base_functions = data.
getN().size2();
557 auto get_ftensor1 = [](
auto &
v) {
562 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
564 auto t_nf = get_ftensor1(
nF);
566 for (; bb != nb_dofs / 3; ++bb) {
567 t_nf(
i) +=
a * t_row_base_fun * t_div_P(
i);
568 t_nf(
i) -=
a * t_row_base_fun *
alphaW * t_s_dot_w(
i);
569 t_nf(
i) -=
a * t_row_base_fun *
alphaRho * t_s_dot_dot_w(
i);
573 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: