fixed error check for CoverA ratio

This commit is contained in:
Pratheek Shanthraj 2014-06-18 13:26:16 +00:00
parent eaa3e32f21
commit bf24bd83f2
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ subroutine lattice_init
enddo
do i = 1_pInt,Nphases
if (CoverA(i) < 1.0_pReal .or. CoverA(i) > 2.0_pReal &
if ((CoverA(i) < 1.0_pReal .or. CoverA(i) > 2.0_pReal) &
.and. lattice_structure(i) == LATTICE_hex_ID) call IO_error(206_pInt) ! checking physical significance of c/a
call lattice_initializeStructure(i, CoverA(i))
enddo