#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 (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 556 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 910 of file EshelbianOperators.cpp.
913 int nb_integration_pts = data.
getN().size1();
914 auto v = getVolume();
915 auto t_w = getFTensor0IntegrationWeight();
916 auto t_w_l2 = getFTensor1FromMat<3>(
dataAtPts->wL2AtPts);
917 int nb_base_functions = data.
getN().size2() / 3;
920 auto get_ftensor1 = [](
auto &
v) {
925 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
927 auto t_nf = get_ftensor1(
nF);
929 for (; bb != nb_dofs / 3; ++bb) {
930 double div_row_base = t_row_diff_base_fun(
i,
i);
931 t_nf(
i) +=
a * div_row_base * t_w_l2(
i);
933 ++t_row_diff_base_fun;
935 for (; bb != nb_base_functions; ++bb) {
936 ++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.