#include <users_modules/eshelbian_plasticit/src/EshelbianPlasticity.hpp>
|
| OpSpatialConsistencyDivTerm (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr) |
|
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 605 of file EshelbianPlasticity.hpp.
◆ OpSpatialConsistencyDivTerm()
EshelbianPlasticity::OpSpatialConsistencyDivTerm::OpSpatialConsistencyDivTerm |
( |
const std::string & |
field_name, |
|
|
boost::shared_ptr< DataAtIntegrationPts > |
data_ptr |
|
) |
| |
|
inline |
◆ integrate()
Reimplemented from EshelbianPlasticity::OpAssembleBasic< VolUserDataOperator >.
Definition at line 706 of file EshelbianOperators.cpp.
709 int nb_integration_pts = data.
getN().size1();
710 auto v = getVolume();
711 auto t_w = getFTensor0IntegrationWeight();
712 auto t_w_l2 = getFTensor1FromMat<3>(
dataAtPts->wL2AtPts);
713 int nb_base_functions = data.
getN().size2() / 3;
716 auto get_ftensor1 = [](
auto &
v) {
721 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
723 auto t_nf = get_ftensor1(
nF);
725 for (; bb != nb_dofs / 3; ++bb) {
726 double div_row_base = t_row_diff_base_fun(
i,
i);
727 t_nf(
i) +=
a * div_row_base * t_w_l2(
i);
729 ++t_row_diff_base_fun;
731 for (; bb != nb_base_functions; ++bb) {
732 ++t_row_diff_base_fun;
The documentation for this struct was generated from the following files:
FTensor::Tensor2< FTensor::PackPtr< double *, Tensor_Dim0 *Tensor_Dim1 >, Tensor_Dim0, Tensor_Dim1 > getFTensor2DiffN(FieldApproximationBase base)
Get derivatives of base functions for Hdiv space.