write_cube_file Subroutine

public subroutine write_cube_file(p, a, b, f, filename, mo, d)

write_density_cube_file(P,A,B,G,F, filename)

write a cubefile into file filename of quantity rho on the molecular grid

Arguments

Type IntentOptional Attributes Name
type(param), intent(in) :: p
type(atom_set), intent(in) :: a(:)
type(basis), intent(in) :: b
type(wf_data), intent(in) :: f
character(len=*), intent(in) :: filename

output filename for the cube file

integer, intent(in), optional :: mo

if given an mo cube file is written

real(kind=long), intent(in), optional :: d(size(f%lc,1),size(f%lc,1))

if given, this density matrix is used, otherwise F%D