Go to the source code of this file.
◆ CalculateTranspor()
function CalculateTranspor |
( |
| ) |
|
filename containing the input XML
Parsing the input file and creating data structures filename containing the output XML the output folder length of the junction (number of unit cells) number of energy points creating output directories Calculate the transport through the magnetic barrier plot the calculated results Calculates the conductance values
◆ CreateHandlesForMagneticField()
function CreateHandlesForMagneticField |
( |
B |
| ) |
|
Creates and set function handles of the magnetic vector potentials in the Ribbon class.
- Parameters
-
◆ createVectorPotential()
function createVectorPotential |
( |
B |
| ) |
|
Creates the function handle of the magnetic vector potential.
- Parameters
-
- Returns
- Returns with the function handle.
◆ magnetic_ribbon()
function magnetic_ribbon |
( |
filenum |
| ) |
|
Example to calculate the conductivity through a ribbon in a magnetic field.
- Parameters
-
filenum | The identification number of the filenema for the exported data (default is 1). |
◆ PlotFunction()
function PlotFunction |
( |
| ) |
|
◆ setOutputDir()
function setOutputDir |
( |
| ) |
|
◆ Transport()
function Transport |
( |
Energy |
, |
|
|
B |
, |
|
|
selfEnergy |
|
|
) |
| |
creating the Ribbon class representing the twoterminal setup
Calculates the conductance for a given energy
- Parameters
-
Energy | The energy value. |
B | The magnetic field |
selfEnergy | Logical value. Set true to use the self energy in the calculations or false to use the surface Green operator. |