Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:functions:newtightbinding [2024/08/29 17:55] Micheangelo Tagliavinidocumentation:language_reference:functions:newtightbinding [2024/08/29 18:03] (current) Micheangelo Tagliavini
Line 2: Line 2:
  
  
-/NewTightBinding()/ initiates a Tight Binding object with the following standard properties:+//NewTightBinding()// initiates a Tight Binding object with the following standard properties:
  
   * Name: "" (empty string)   * Name: "" (empty string)
Line 10: Line 10:
   * NF: `0` (number of orbitals defined in Atoms)   * NF: `0` (number of orbitals defined in Atoms)
  
-### Units Property +The //Units// property is a list of three strings with the following contributions
-The `Unitsproperty has the following options+  Units[1]: Sets the scaling for the reciprocal lattice, e.g., $\vec{r}\cdot\vec{g}=2\pi$ for "2Pi" or $\vec{r}\cdot\vec{g}=1for "NoPi"
-- `Units[1]`: Sets the scaling for the reciprocal lattice, e.g., `2Pi` for `"2Pi"or `1for `"NoPi"`+  Units[2]: Defines the unit of measurement as "Angstrom", "Bohr", or "nanometer"
-- `Units[2]`: Defines the unit of measurement as `"Angstrom"``"Bohr"`, or `"nanometer"`+  Units[3]: Selects "Absolute" or "Relative" for the definition of atom positions.
-- `Units[3]`: Selects `"Absolute"or `"Relative"for the definition of atom positions+
- +
-Once a Tight Binding object is created, all properties can be assigned except `.NF`, which is determined by the number of orbitals defined in `Atoms`.+
  
 +Once a Tight Binding object is created, all properties can be assigned except //.NF//, which is determined by the number of orbitals defined in \\.Atoms\\.
  
 ===== Input ===== ===== Input =====
- 
-  * bla : Integer 
-  * bla2 : Real 
  
 ===== Output ===== ===== Output =====
  
-  * bla : real+  *  A Tight Binding Object 
  
 ===== Example ===== ===== Example =====
  
-### 
-description text 
-### 
  
 ==== Input ==== ==== Input ====
Print/export