//std::cout << "Warning: beyond the limit increment for epsilon_XX: " << dExx << "\n";
//std::cout << "Warning: beyond the limit increment for epsilon_XX: " << dExx << "\n"; //commented on 12/06/25 because the nb of substeps is limited and we can a bit beyond the limit increment
}
if(abs(dEyy)>_incrlimit){
//std::cout << "Warning: beyond the limit increment for epsilon_YY: " << dEyy << "\n";
//std::cout << "Warning: beyond the limit increment for epsilon_YY: " << dEyy << "\n"; //commented on 12/06/25 because the nb of substeps is limited and we can a bit beyond the limit increment
}
if(abs(dExy)>_incrlimit){
//std::cout << "Warning: beyond the limit increment for epsilon_XY: " << dExy << "\n";
//std::cout << "Warning: beyond the limit increment for epsilon_XY: " << dExy << "\n"; //commented on 12/06/25 because the nb of substeps is limited and we can a bit beyond the limit increment
@@ -913,6 +913,7 @@ class NonlocalDamageTorchANNBasedDG3DMaterialLaw : public dG3DMaterialLaw{
bool_DoubleInput;
int_numNonlocalVar;
double_incrlimit;//the maximal strain increment with which your RNN trained can predict
bool_tooBigStep;//(added on 13/06/25) becomes true when the strain step is so big that it would need a lot of substeps to compute the stress corresponding correctly, in that case, the step is rejected