@@ -48,7 +48,7 @@ Mat::PAR::PlasticElastHyper::PlasticElastHyper(const Core::Mat::PAR::Parameter::
4848 rY_13_(matdata.parameters.get<double >(" rY_13" )),
4949 cpl_(0 .),
5050 stab_s_(0 .),
51- dis_mode_(Inpar:: TSI::pl_multiplier)
51+ dis_mode_(TSI::pl_multiplier)
5252{
5353 // check if sizes fit
5454 if (nummat_ != (int )matids_.size ())
@@ -299,7 +299,7 @@ void Mat::PlasticElastHyper::unpack(Core::Communication::UnpackBuffer& buffer)
299299 }
300300
301301 // dissipation mode
302- Inpar:: TSI::DissipationMode mode;
302+ TSI::DissipationMode mode;
303303 extract_from_pack (buffer, mode);
304304 set_dissipation_mode (mode);
305305
@@ -368,11 +368,11 @@ void Mat::PlasticElastHyper::setup(int numgp, const Core::IO::InputParameterCont
368368
369369/* ----------------------------------------------------------------------*/
370370/* ----------------------------------------------------------------------*/
371- void Mat::PlasticElastHyper::setup_tsi (const int numgp, const int numdofperelement, const bool eas,
372- const Inpar:: TSI::DissipationMode mode)
371+ void Mat::PlasticElastHyper::setup_tsi (
372+ const int numgp, const int numdofperelement, const bool eas, const TSI::DissipationMode mode)
373373{
374374 // dissipation mode
375- if (mode == Inpar:: TSI::pl_multiplier)
375+ if (mode == TSI::pl_multiplier)
376376 if (mat_params ()->rY_11_ != 0 . || mat_params ()->rY_22_ != 0 . || mat_params ()->rY_33_ != 0 . ||
377377 mat_params ()->rY_12_ != 0 . || mat_params ()->rY_23_ != 0 . || mat_params ()->rY_13_ != 0 .)
378378 FOUR_C_THROW (" TSI with Hill plasticity not available with DISSIPATION_MODE pl_multiplier" );
@@ -400,11 +400,11 @@ void Mat::PlasticElastHyper::setup_tsi(const int numgp, const int numdofpereleme
400400 if (pl_spin_chi () != 0 .) FOUR_C_THROW (" no thermo-plasticitiy with plastic spin" );
401401
402402 // / Hill TSI only with pl_flow dissipation
403- if (mat_params ()->rY_11_ != 0 . && mode == Inpar:: TSI::pl_multiplier)
403+ if (mat_params ()->rY_11_ != 0 . && mode == TSI::pl_multiplier)
404404 FOUR_C_THROW (" hill thermo plasticity not with dissipation mode pl_multiplier" );
405405
406406 // / viscoplastic TSI only with pl_flow dissipation
407- if (visc () != 0 . && mode == Inpar:: TSI::pl_multiplier)
407+ if (visc () != 0 . && mode == TSI::pl_multiplier)
408408 FOUR_C_THROW (" thermo-visco-plasticity not with dissipation mode pl_multiplier" );
409409}
410410
@@ -1059,7 +1059,7 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
10591059 // TSI
10601060 if (dNCPdT != nullptr )
10611061 {
1062- if (dis_mode () == Inpar:: TSI::Taylor_Quinney)
1062+ if (dis_mode () == TSI::Taylor_Quinney)
10631063 {
10641064 double plHeating = taylor_quinney () * eta_v_strainlike.dot (deltaDp_v);
10651065 Core::LinAlg::Matrix<6 , 1 > dHpDeta (Core::LinAlg::Initialization::zero);
@@ -1081,14 +1081,14 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
10811081 (*temp) * delta_alpha_i_[gp];
10821082 switch (dis_mode ())
10831083 {
1084- case Inpar:: TSI::pl_multiplier:
1084+ case TSI::pl_multiplier:
10851085 plHeating += delta_alpha_i_[gp] * (0 . + inityield () * (1 . - yield_soft () * dT) +
10861086 isohard () * (1 . - hard_soft () * dT) * aI +
10871087 (infyield () * (1 . - hard_soft () * dT) -
10881088 inityield () * (1 . - yield_soft () * dT)) *
10891089 (1 . - exp (-expisohard () * aI)));
10901090 break ;
1091- case Inpar:: TSI::pl_flow:
1091+ case TSI::pl_flow:
10921092 plHeating += eta_v_strainlike.dot (deltaDp_v);
10931093 break ;
10941094 default :
@@ -1103,13 +1103,13 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
11031103 delta_alpha_i_[gp];
11041104 switch (dis_mode ())
11051105 {
1106- case Inpar:: TSI::pl_multiplier:
1106+ case TSI::pl_multiplier:
11071107 dPlHeatingDT += -delta_alpha_i_[gp] *
11081108 (0 . + inityield () * yield_soft () + isohard () * hard_soft () * aI +
11091109 (infyield () * hard_soft () - inityield () * yield_soft ()) *
11101110 (1 . - exp (-expisohard () * aI)));
11111111 break ;
1112- case Inpar:: TSI::pl_flow:
1112+ case TSI::pl_flow:
11131113 // do nothing
11141114 break ;
11151115 default :
@@ -1128,7 +1128,7 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
11281128 exp (-expisohard () * aI));
11291129 switch (dis_mode ())
11301130 {
1131- case Inpar:: TSI::pl_multiplier:
1131+ case TSI::pl_multiplier:
11321132 dPlHeatingDdai +=
11331133 +inityield () * (1 . - yield_soft () * dT) +
11341134 isohard () * (1 . - hard_soft () * dT) *
@@ -1137,7 +1137,7 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
11371137 ((1 . - exp (-expisohard () * aI)) +
11381138 delta_alpha_i_[gp] * expisohard () * exp (-expisohard () * aI));
11391139 break ;
1140- case Inpar:: TSI::pl_flow:
1140+ case TSI::pl_flow:
11411141 // do nothing
11421142 break ;
11431143 default :
@@ -1159,7 +1159,7 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
11591159 -2 . * dPlHeatingDdai * abseta_H * dDpHeta / (pow (absHeta, 4 .)), HetaH_strainlike, 1 .);
11601160 }
11611161
1162- if (dis_mode () == Inpar:: TSI::pl_flow) dHpDeta.update (1 ., deltaDp_v_strainlike, 1 .);
1162+ if (dis_mode () == TSI::pl_flow) dHpDeta.update (1 ., deltaDp_v_strainlike, 1 .);
11631163
11641164 // derivative w.r.t. C
11651165 dHdC->multiply_tn (*dMdC, dHpDeta);
@@ -1171,7 +1171,7 @@ void Mat::PlasticElastHyper::evaluate_ncp(const Core::LinAlg::Matrix<3, 3>* mStr
11711171 tmp61.multiply (PlAniso_full_, eta_v_strainlike);
11721172 dHdDp->update (dPlHeatingDdai * abseta_H / (absHeta * absHeta), tmp61, 1 .);
11731173 }
1174- if (dis_mode () == Inpar:: TSI::pl_flow) dHdDp->update (1 ., eta_v_strainlike, 1 .);
1174+ if (dis_mode () == TSI::pl_flow) dHdDp->update (1 ., eta_v_strainlike, 1 .);
11751175
11761176 // scaling with time step
11771177 plHeating /= dt;
0 commit comments