Differences

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

Link to this comparison view

Next revision
Previous revision
documentation:language_reference:objects:responsefunction:properties:mu [2024/12/22 16:26] – created Maurits W. Haverkortdocumentation:language_reference:objects:responsefunction:properties:mu [2024/12/22 18:30] (current) Maurits W. Haverkort
Line 3: Line 3:
  
 ### ###
-alligned paragraph text+Returns the chemical potential used for the response / Green's function. We highly suggest to set the chemical potential to 0 and shift the onsite energies of the orbitals accordingly. 
 ### ###
  
 ===== Example ===== ===== Example =====
- 
-### 
-description text 
-### 
  
 ==== Input ==== ==== Input ====
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
--- some example code+a1 = {0, -1,   0,   5,   6} 
 +b1 = {  0.2, 0.2, 0.2, 0.2} 
 +G1 = ResponseFunction.New( {a1,b1,mu=0,type="ListOfPoles", name="G1"} ) 
 + 
 +print( "The chemical potential is", G1.mu )
 </code> </code>
  
 ==== Result ==== ==== Result ====
 <file Quanty_Output> <file Quanty_Output>
-text produced as output+The chemical potential is 0
 </file> </file>
  
 ===== Table of contents ===== ===== Table of contents =====
-{{indexmenu>../#2|msort}}+{{indexmenu>../#2|tsort}}
  
Print/export