fixed error check for CoverA ratio
This commit is contained in:
parent
eaa3e32f21
commit
bf24bd83f2
|
@ -946,7 +946,7 @@ subroutine lattice_init
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
do i = 1_pInt,Nphases
|
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
|
.and. lattice_structure(i) == LATTICE_hex_ID) call IO_error(206_pInt) ! checking physical significance of c/a
|
||||||
call lattice_initializeStructure(i, CoverA(i))
|
call lattice_initializeStructure(i, CoverA(i))
|
||||||
enddo
|
enddo
|
||||||
|
|
Loading…
Reference in New Issue