|
|
|
@ -92,14 +92,15 @@ module elements
|
|
|
|
|
0.5_dp, -0.5_dp, 0.5_dp, &
|
|
|
|
|
1.0_dp, 0.0_dp, 1.0_dp, &
|
|
|
|
|
0.5_dp, 0.5_dp, 0.5_dp, &
|
|
|
|
|
0.5_dp, 0.5_dp, -0.5_dp, &
|
|
|
|
|
-0.5_dp, 0.5_dp, 0.5_dp, &
|
|
|
|
|
0.0_dp, 0.0_dp, 1.0_dp, &
|
|
|
|
|
0.5_dp, 0.5_dp, 1.5_dp /), &
|
|
|
|
|
0.5_dp, 0.5_dp, 1.5_dp, &
|
|
|
|
|
0.0_dp, 1.0_dp, 1.0_dp /), &
|
|
|
|
|
shape(bcc_cell))
|
|
|
|
|
|
|
|
|
|
bcc_mat = reshape((/ 0.5_dp, 0.5_dp, -0.5_dp, &
|
|
|
|
|
-0.5_dp, 0.5_dp, 0.5_dp, &
|
|
|
|
|
0.5_dp, 0.5_dp, 0.5_dp /), &
|
|
|
|
|
bcc_mat = reshape((/ 0.5_dp, -0.5_dp, 0.5_dp, &
|
|
|
|
|
0.5_dp, 0.5_dp, 0.5_dp, &
|
|
|
|
|
-0.5_dp, 0.5_dp, 0.5_dp /), &
|
|
|
|
|
shape(bcc_mat))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -148,6 +149,9 @@ module elements
|
|
|
|
|
end if
|
|
|
|
|
cell_mat(:, 1:8) = fcc_cell + adjustVar(:,1:8)
|
|
|
|
|
cell_mat(:,1:8) = lapa * ((esize-1)*matmul(orient_mat, cell_mat(:,1:8)))
|
|
|
|
|
case('bcc')
|
|
|
|
|
cell_mat(:,1:8) = bcc_cell
|
|
|
|
|
cell_mat(:,1:8) = lapa* ((esize-1)*matmul(orient_mat, cell_mat(:,1:8)))
|
|
|
|
|
case default
|
|
|
|
|
print *, "Element type ", trim(ele_type), " currently not accepted"
|
|
|
|
|
stop
|
|
|
|
|