From df5cdb6b017ddfce676f3880aee1e13df575a9d6 Mon Sep 17 00:00:00 2001 From: Su Leen Wong Date: Wed, 8 Jul 2015 11:58:52 +0000 Subject: [PATCH] Elasticity matrices for transformed phase --- code/IO.f90 | 2 ++ code/lattice.f90 | 35 +++++++++++++++++++++++++++++++++-- code/plastic_dislotwin.f90 | 21 ++++++++++++--------- 3 files changed, 47 insertions(+), 11 deletions(-) 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))