real(8), dimension(3, maxatoms, maxspecies) atposc
integer, dimension(maxspecies) natoms
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:), allocatable tauatp
integer, parameter maxspecies
real(8), dimension(:,:), allocatable forcetot
real(8), dimension(3, 3) ainv
real(8), dimension(:,:), allocatable forcetotp
integer, parameter maxatoms
real(8), dimension(3, maxatoms, maxspecies) atposl