Difference between revisions of "Species"

From TurboGAP
Jump to navigation Jump to search
(Created page with "<code>species</code> specifies the labels for the unique atomic species in the simulation, as found in the input XYZ file. It is always used in conjunction with <code>n_spec...")
 
 
Line 20: Line 20:
 
=== Example ===
 
=== Example ===
  
  n_species = 3
+
  [[n_species]] = 3
 
  [[species]] = H C O
 
  [[species]] = H C O

Latest revision as of 14:09, 18 July 2021

species specifies the labels for the unique atomic species in the simulation, as found in the input XYZ file. It is always used in conjunction with n_species, and has dimensions n_species. A maximum of 8 characters per species can be used. Usually, there is no reason to use more than two characters, e.g., "Fe" for iron.

Summary

Summary for species keyword
Required/optional Type Accepted values Default See also
Required Array of characters of maximum 8 characters, with dimension n_species ASCII/Unicode characters, but may be compiler dependent None - the user must specify a value n_species

Example

n_species = 3
species = H C O