Missing allocation in disloop code

master
Alex Selimov 5 years ago
parent 071e8169b9
commit 94e1c9fd7b

@ -292,6 +292,7 @@ module opt_disl
end select end select
if(loop_radius < 0.0_dp) then if(loop_radius < 0.0_dp) then
ALLOCATE(xLoop(4,3))
xLoop(:,:) = 0.d0 xLoop(:,:) = 0.d0
xLoop(1,a1) = centroid(1) - loop_radius xLoop(1,a1) = centroid(1) - loop_radius
xLoop(1,a2) = centroid(2) - loop_radius xLoop(1,a2) = centroid(2) - loop_radius

Loading…
Cancel
Save