Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:language_reference:functions:filereaddresdenfplo [2018/06/21 15:20] – created Simon Heinze | documentation:language_reference:functions:filereaddresdenfplo [2024/09/18 18:20] (current) – Sina Shokri | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | alligned paragraph text | + | The function // |
### | ### | ||
===== Input ===== | ===== Input ===== | ||
- | * bla : Integer | + | * path_to_out: (string) path to the FPLO output file. |
- | * bla2 : Real | + | |
===== Output ===== | ===== Output ===== | ||
- | * bla : real | + | * pointer to the FPLO output generated inside Quanty. |
===== Example ===== | ===== Example ===== | ||
### | ### | ||
- | description text | + | A simple example of an FPLO calculation and downloading down on NiO: |
### | ### | ||
==== Input ==== | ==== Input ==== | ||
<code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
- | -- some example code | + | print(" |
+ | FPLOOut = FileReadDresdenFPLO(" | ||
+ | |||
+ | print(FPLOOut) | ||
+ | |||
+ | print(" | ||
+ | TB = TightBindingDefFromDresdenFPLO(FPLOOut) | ||
+ | |||
+ | print(" | ||
+ | print(HTB.Name) | ||
+ | |||
+ | print(" | ||
+ | print(HTB.Cell) | ||
+ | |||
+ | print(" | ||
+ | print(HTB.Atoms) | ||
+ | |||
+ | print(" | ||
+ | print(HTB.NAtoms) | ||
</ | </ | ||
==== Result ==== | ==== Result ==== | ||
<file Quanty_Output> | <file Quanty_Output> | ||
- | text produced as output | + | Reading the FPLO output |
+ | FPLO input | ||
+ | Creating the TB object from FPLOOut | ||
+ | TB.Name: | ||
+ | NiO | ||
+ | |||
+ | TB.Cell: | ||
+ | { { 0 , 3.9476378751116 , 3.9476378751116 } , | ||
+ | { 3.9476378751116 , 0 , 3.9476378751116 } , | ||
+ | { 3.9476378751116 , 3.9476378751116 , 0 } } | ||
+ | |||
+ | TB.Atoms: | ||
+ | { { Ni , | ||
+ | { 0 , 0 , 0 } , | ||
+ | { { 3d , | ||
+ | { d_{xy} , d_{yz} , d_{3z^2-r^2} , d_{xz} , d_{x^2-y^2} } } } } , | ||
+ | { O , | ||
+ | { -3.9476378751116 , -3.9476378751116 , -3.9476378751116 } , | ||
+ | { { 2p , | ||
+ | { p_y , p_z , p_x } } } } } | ||
+ | |||
+ | TB.NAtoms: | ||
+ | 2 | ||
</ | </ | ||