mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Fixed test : coord(3,12)
This commit is contained in:
parent
33c5296d4f
commit
728d7bb3ad
29
src/test.f90
29
src/test.f90
@ -18,23 +18,24 @@ subroutine test_write()
|
|||||||
integer :: num
|
integer :: num
|
||||||
|
|
||||||
double precision :: charge(12)
|
double precision :: charge(12)
|
||||||
double precision :: coord(36)
|
double precision :: coord(3,12)
|
||||||
|
|
||||||
! parameters to be written
|
! parameters to be written
|
||||||
num = 12
|
num = 12
|
||||||
charge = (/6., 6., 6., 6., 6., 6., 1., 1., 1., 1., 1., 1. /)
|
charge = (/ 6., 6., 6., 6., 6., 6., 1., 1., 1., 1., 1., 1. /)
|
||||||
coord = (/ 0.00000000d0, 1.39250319d0 , 0.00000000d0 , &
|
coord = reshape( (/ 0.00000000d0, 1.39250319d0 , 0.00000000d0 , &
|
||||||
-1.20594314d0, 0.69625160d0 , 0.00000000d0 , &
|
-1.20594314d0, 0.69625160d0 , 0.00000000d0 , &
|
||||||
-1.20594314d0, -0.69625160d0 , 0.00000000d0 , &
|
-1.20594314d0, -0.69625160d0 , 0.00000000d0 , &
|
||||||
0.00000000d0, -1.39250319d0 , 0.00000000d0 , &
|
0.00000000d0, -1.39250319d0 , 0.00000000d0 , &
|
||||||
1.20594314d0, -0.69625160d0 , 0.00000000d0 , &
|
1.20594314d0, -0.69625160d0 , 0.00000000d0 , &
|
||||||
1.20594314d0, 0.69625160d0 , 0.00000000d0 , &
|
1.20594314d0, 0.69625160d0 , 0.00000000d0 , &
|
||||||
-2.14171677d0, 1.23652075d0 , 0.00000000d0 , &
|
-2.14171677d0, 1.23652075d0 , 0.00000000d0 , &
|
||||||
-2.14171677d0, -1.23652075d0 , 0.00000000d0 , &
|
-2.14171677d0, -1.23652075d0 , 0.00000000d0 , &
|
||||||
0.00000000d0, -2.47304151d0 , 0.00000000d0 , &
|
0.00000000d0, -2.47304151d0 , 0.00000000d0 , &
|
||||||
2.14171677d0, -1.23652075d0 , 0.00000000d0 , &
|
2.14171677d0, -1.23652075d0 , 0.00000000d0 , &
|
||||||
2.14171677d0, 1.23652075d0 , 0.00000000d0 , &
|
2.14171677d0, 1.23652075d0 , 0.00000000d0 , &
|
||||||
0.00000000d0, 2.47304151d0 , 0.00000000d0 /)
|
0.00000000d0, 2.47304151d0 , 0.00000000d0 /), &
|
||||||
|
shape(coord) )
|
||||||
|
|
||||||
! ================= START OF TEST ===================== !
|
! ================= START OF TEST ===================== !
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user