diff --git a/code/IO.f90 b/code/IO.f90 index a68c197d2..0ab8bfd90 100644 --- a/code/IO.f90 +++ b/code/IO.f90 @@ -1552,6 +1552,8 @@ subroutine IO_error(error_ID,el,ip,g,ext_msg) msg = 'transformed hex lattice structure with invalid c/a ratio' case (135_pInt) msg = 'zero entry on stiffness diagonal' + case (136_pInt) + msg = 'zero entry on stiffness diagonal for transformed phase' !-------------------------------------------------------------------------------------------------- ! material error messages and related messages in mesh diff --git a/code/lattice.f90 b/code/lattice.f90 index d5e8fe155..774ad6713 100644 --- a/code/lattice.f90 +++ b/code/lattice.f90 @@ -1642,6 +1642,37 @@ subroutine lattice_initializeStructure(myPhase,CoverA,CoverA_trans,a_fcc,a_bcc) if (abs(lattice_C66(i,i,myPhase))