#include <users_modules/eshelbian_plasticty/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) |
|
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 768 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 |
|
) |
| |
◆ integrate()
Reimplemented from EshelbianPlasticity::OpAssembleBasic< VolUserDataOperator >.
Definition at line 252 of file EshelbianOperators.cpp.
255 int nb_integration_pts = data.
getN().size1();
256 auto v = getVolume();
257 auto t_w = getFTensor0IntegrationWeight();
258 auto t_div_P = getFTensor1FromMat<3>(
dataAtPts->divPAtPts);
259 auto t_s_dot_w = getFTensor1FromMat<3>(
dataAtPts->wDotAtPts);
260 if (
dataAtPts->wDotDotAtPts.size1() == 0 &&
261 dataAtPts->wDotDotAtPts.size2() != nb_integration_pts) {
262 dataAtPts->wDotDotAtPts.resize(3, nb_integration_pts);
265 auto t_s_dot_dot_w = getFTensor1FromMat<3>(
dataAtPts->wDotDotAtPts);
267 int nb_base_functions = data.
getN().size2();
271 auto get_ftensor1 = [](
auto &v) {
276 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
278 auto t_nf = get_ftensor1(
nF);
280 for (; bb != nb_dofs / 3; ++bb) {
281 t_nf(
i) += a * t_row_base_fun * t_div_P(
i);
282 t_nf(
i) -= a * t_row_base_fun *
alphaW * t_s_dot_w(
i);
283 t_nf(
i) -= a * t_row_base_fun *
alphaRho * t_s_dot_dot_w(
i);
287 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: