Difference between revisions of "Points2mult.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Computes multipole moments from a set of point charges Parameters: xyz - coordinates as [x y z] with multiple rows, at which density rho is evaluated, in...")
 
Line 5: Line 5:
 
             at which density rho is evaluated, in Angstroms.
 
             at which density rho is evaluated, in Angstroms.
  
−
     mxyz  - paramagnetic centre coordinates as [x y z], in  
+
     mxyz  - coordinates of origin as [x y z], in Angstroms.
−
            Angstroms.
 
  
 
     L      - array of ranks of spherical harmonics of the density
 
     L      - array of ranks of spherical harmonics of the density
  
  
−
     rho    - column of the destity at the points xyz
+
     rho    - column of the density at the points xyz
  
 
     method - 'points' or 'grid'. 'Grid' integrates with corresponding d3r
 
     method - 'points' or 'grid'. 'Grid' integrates with corresponding d3r

Revision as of 09:28, 30 August 2016

Computes multipole moments from a set of point charges Parameters:

   xyz    - coordinates as [x y z] with multiple rows,
            at which density rho is evaluated, in Angstroms.
   mxyz   - coordinates  of origin as [x y z], in Angstroms.
   L      - array of ranks of spherical harmonics of the density


   rho    - column of the density at the points xyz
   method - 'points' or 'grid'. 'Grid' integrates with corresponding d3r
            and 'points' just sum the density at points. 

Output:

   Ilm    - predicted multipole moments of the density