integer, dimension(maxspecies) nrmti
integer, dimension(maxspecies) nrmt
real(8), dimension(:), pointer, contiguous rhoir
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(:), allocatable cfunir
real(8), dimension(:), allocatable chgmt
real(8), dimension(:,:), allocatable wr2mt
real(8), dimension(:,:), pointer, contiguous rhomt
subroutine writetest(id, descr, nv, iv, iva, tol, rv, rva, zv, zva)