Difference between revisions of "Masses"

From TurboGAP
Jump to navigation Jump to search
(Created page with "<code>masses</code> sets the masses for all the <code>n_species</code> atomic species in the simulation, in units of ''atomic mass units'' or ''Dalton'' (the mass of a...")
 
m
Line 1: Line 1:
<code>[[masses]]</code> sets the masses for all the <code>[[n_species]]</code> atomic species in the simulation, in units of ''atomic mass units'' or ''Dalton'' (the mass of a <sup>12</sup>C atom is 12 u by definition; the average mass of the C isotopes present on Earth is approx. 12.01 u). The order in which the energies are specified must match the order in which the <code>[[species]]</code> are specified.
+
<code>[[masses]]</code> sets the masses for all the <code>[[n_species]]</code> atomic species in the simulation, in units of ''atomic mass units'' or ''Dalton'' (the mass of a <sup>12</sup>C atom is 12 u by definition; the average mass of the C isotopes present on Earth is approx. 12.01 u). The order in which the masses are specified must match the order in which the <code>[[species]]</code> are specified.
  
 
=== Summary ===
 
=== Summary ===

Revision as of 16:44, 23 July 2021

masses sets the masses for all the n_species atomic species in the simulation, in units of atomic mass units or Dalton (the mass of a 12C atom is 12 u by definition; the average mass of the C isotopes present on Earth is approx. 12.01 u). The order in which the masses are specified must match the order in which the species are specified.

Summary

Summary for masses keyword
Required/optional Type Accepted values Default See also
Required for MD Real array with dimension n_species Any real array with dimension n_species 0. for all species species, n_species

Example

n_species = 3
species = H C O
masses = 1.01 12.01 16.00