|
| OpSpatialPhysical (const std::string &field_name, boost::shared_ptr< DataAtIntegrationPts > data_ptr, const double alpha_u) |
|
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 21 of file EshelbianADOL-C.cpp.
◆ OpSpatialPhysical()
EshelbianPlasticity::OpSpatialPhysical::OpSpatialPhysical |
( |
const std::string & |
field_name, |
|
|
boost::shared_ptr< DataAtIntegrationPts > |
data_ptr, |
|
|
const double |
alpha_u |
|
) |
| |
|
inline |
◆ integrate()
Reimplemented from EshelbianPlasticity::OpAssembleBasic< VolUserDataOperator >.
Definition at line 34 of file EshelbianADOL-C.cpp.
41 int nb_integration_pts = data.
getN().size1();
43 auto t_w = getFTensor0IntegrationWeight();
44 auto t_approx_P_adjont_log_du =
45 getFTensor1FromMat<size_symm>(
dataAtPts->adjointPdUAtPts);
46 auto t_P = getFTensor2FromMat<3, 3>(
dataAtPts->PAtPts);
48 getFTensor2SymmetricFromMat<3>(
dataAtPts->logStretchDotTensorAtPts);
50 getFTensor4DdgFromMat<3, 3, 1>(
dataAtPts->diffStretchTensorAtPts);
56 auto get_ftensor2 = [](
auto &
v) {
58 &
v[0], &
v[1], &
v[2], &
v[3], &
v[4], &
v[5]);
61 int nb_base_functions = data.
getN().size2();
63 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
65 auto t_nf = get_ftensor2(
nF);
68 t_Ldiff_u(
i,
j,
L) = t_diff_u(
i,
j,
k,
l) * t_L(
k,
l,
L);
78 a * (t_approx_P_adjont_log_du(
L) - t_Ldiff_u(
i,
j,
L) * t_P(
i,
j) -
79 t_L(
i,
j,
L) * t_viscous_P(
i,
j));
82 for (; bb != nb_dofs / 6; ++bb) {
83 t_nf(
L) += t_row_base_fun * t_residual(
L);
87 for (; bb != nb_base_functions; ++bb)
91 ++t_approx_P_adjont_log_du;
◆ alphaU
const double EshelbianPlasticity::OpSpatialPhysical::alphaU |
|
private |
The documentation for this struct was generated from the following file: