Time-stamp: <2014-03-09 17:14:13 takeshi>
loto's homepage is http://loto.sourceforge.net/loto/ .
You can download a tar ball of loto (loto-X.YY.ZZ.tar.gz) from http://sourceforge.net/projects/loto/files/loto/ .
Keywords: materials science, computational physics, optical phonon, LO-TO splitting, dipole-dipole interaction, crystal structure, Ewald sum technique, Fortran 95/2003
This program, loto, analyzes dipole-dipole interactions in the systems with periodic boundary conditions. 3-dimensional bulks, 2-dimensional films and 1-dimensional wires can be treated. loto can plot dispersion diagrams of optical phonons for the dipolar systems, as shown in examples below.
loto is named after a mysterious physics phenomenon; the LO-TO splitting (longitudinal and transverse optical phonon splitting).
For more details in physics, see doc/theory.pdf .
loto has nothing to do with lotteries, e.g. http://www.loto.fr/ or http://www.takarakuji.mizuhobank.co.jp/miniloto/ . Good luck!
loto can read parameters from the standard input as well as from the file(s) given by the argument(s).
$ loto < an_input_file $ cat an_input_file | loto $ loto input_file ...
examples:
$ loto < triangular $ loto 2d/kagome $ loto sc bcc fcc
You can plot a dispersion relation with a generated gnuplot script.
$ loto square $ ls square* square square.dispersion square.example.gp $ gnuplot square.example.gp $ gv square.energy.eps $ loto 3d/diamond1 3d/diamond2 $ gnuplot 3d/diamond1.example.gp 3d/diamond2.example.gp $ gv 3d/diamond1.energy.eps $ gv 3d/diamond2.energy.eps
The input file for loto is a text file consisting of comment lines and 'tag = value(s)' lines.
Lines beginning with '#' are ignored. Blank lines are also ignored.
# This is a comment line.
# Here are two more # comment lines.
You must put ' = ', space-equal-space, between a tag and value(s) as:
tag = 1.0
tag = -2.0 -3.0 -4.0 tag = 5.0 6.0 7.0
Followings are currently available tags alphabetically ordered.
position 0.0 0.0 -0.5, effective_mass 1.0, effective_charge 1.0:
atom = 0.0 0.0 -0.5 1.0 1.0
position 1.0 0.0 0.5, effective_mass 1.2, effective_charge_tensor 1.0 2.0 3.0 0.1 0.1 0.1:
atom = 1.0 0.0 0.5 1.2 1.0 2.0 3.0 0.1 0.1 0.1
See "k-point and axis" below.
dimension = 3 dimension = 2 dimension = 1
position, effective mass, strength, initial direction of a dipole. Use this tag for the 0-dimensional cases instead of the 'atom' tag.
example (position 0.0 0.0 0.0, mass 1.0, strength 1.0, initial direction 1.0 0.0 0.0):
dipole = 0.0 0.0 0.0 1.0 1.0 1.0 0.0 0.0
Optical dielectric constant tensor (square of the refractive index).
epsilon = 1.0 1.0 1.0 0.0 0.0 0.0 (default) epsilon = 1.0 2.0 3.0 4.0 5.0 6.0 1.0 6.0 5.0 means epsilon_inf = 6.0 2.0 4.0 5.0 4.0 3.0
Ranges for the reciprocal-space summation. The ranges will be -G_max(i)-1 ... G_max(i).
G_max = 0 0 0 (default) G_max = 1 1 1
Dumping factor for minimization scheme for 0-dimensional systems. See src/finite_force_matrix.F .
gamma = 0.1 (default) gamma = 0.2 (faster convergence, lager possibility of failure)
k-point = index_letter coordinates axis = axis_label dividing_number
dividing_number depends on L. example:
k-point = 'M' 0.5 0.5 0.0 axis = '{/Symbol S}' 16 k-point = '{/Symbol G}' 0.0 0.0 0.0 axis = '{/Symbol D}' 16 k-point = 'X' 0.5 0.0 0.0 axis = 'Z' 16 k-point = 'M' 0.5 0.5 0.0
Super cell size. In another word, k-point mesh.
L = 32 32 32 L = 32 32 1 L = 1 1 1
Ranges for the real-space summation. The ranges will be -n_max(i)-1 ... n_max(i).
n_max = 0 0 0 (default) n_max = 1 1 0
Ranges for the real-space summation only for the Gamma point of the layered 2-dimensional case.
n_max_Gamma = 12 12 0
Primitive cell vectors.
prim1 = 1.0 0.0 0.0 prim2 = 0.0 1.0 0.0 prim3 = 0.0 0.0 1.0
title = 'Example Title' title = 'Example for the enhanced postscript terminal in gnuplot: {/Times-Italic a}_1'
foo.dispersion is something like this:
# k-point: {/Symbol G} # axis: {/Symbol D} # 0.000000 0.000000 0.000000 0.000000 -2.046653 -2.046653 -2.046653 # 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 # 0.00000 0.00000 0.00000 0.00000 -1.00000 0.00000 # -1.00000 0.00000 0.00000 0.00000 -0.00000 0.00000 # 0.031250 0.031250 0.000000 0.000000 -2.048200 2.896593 -2.048200 # -0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 # -0.44785 -0.00000 0.00000 0.00000 0.89411 0.00000 # 0.89411 0.00000 0.00000 0.00000 0.44785 0.00000 # 0.062500 0.062500 0.000000 0.000000 -2.052774 2.903060 -2.052774 # -0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 # -0.19598 0.00000 0.00000 0.00000 0.98061 0.00000 # 0.98061 0.00000 0.00000 0.00000 0.19598 0.00000 # . . .
Lines starting with '#' are comments.
Data lines are containing:
x_plot k_1 k_2 k_3 frequency_1 frequency_2 ... frequency_3N
where N is the number of atoms. Imaginary frequencies are indicated as negative values.
Input file: examples/3d/sc
Input file: examples/3d/bcc
Input file: examples/3d/fcc
Input file: examples/3d/diamond1 or examples/3d/diamond2
Input file: examples/3d/bct
Input file: examples/3d/orthorhombic
Input file: examples/2d/square
Input file: examples/2d/triangular
Input file: examples/2d/depleted
Input file: examples/1d/simple
Input file: examples/1d/ladder11
$ svn checkout --username=YourUsername https://svn.code.sf.net/p/loto/code loto $ cd loto/loto/trunk/ $ ls -l $ autoreconf -v $ automake --add-missing $ autoreconf -v $ ls -l $ emacs README $ svn stat $ svn diff $ svn commit -m 'add URL of homepage' $ svn log $ svn update $ svn log
Copyright © 2007-2014 Takeshi Nishimatsu (t-nissie{at}imr.tohoku.ac.jp)
loto is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. You can copy, modify and redistribute loto, but only under the conditions described in the GNU General Public License (the "GPL"). For more detail, see COPYING.
This project is/was partially supported by: