fermisurfer
2.0.0
fermisurfer
|
Go to the documentation of this file.
28 #if ! defined(FERMISURFER_VARIABLE_H)
29 #define FERMISURFER_VARIABLE_H
33 #if defined(HAVE_CONFIG_H)
36 #if defined(HAVE_GL_GL_H)
38 #elif defined(HAVE_OPENGL_GL_H)
39 #include <OpenGL/gl.h>
48 extern GLfloat
avec[3][3];
49 extern GLfloat
bvec[3][3];
50 extern GLfloat ****
eig0;
51 extern GLfloat *****
mat0;
56 extern GLfloat ****
eig;
57 extern GLfloat *****
mat;
58 extern GLfloat *****
vf;
76 extern GLfloat
bzl[676][2][3];
77 extern GLfloat
bragg[26][3];
78 extern GLfloat
brnrm[26];
87 extern GLfloat ****
nmlp;
88 extern GLfloat*****
arw;
89 extern GLfloat ****
kvp;
93 extern GLfloat ****
matp;
103 extern GLfloat ****
kvnl;
111 extern GLfloat
axis2d[2][3];
113 extern GLfloat **
kv2d;
114 extern GLfloat **
clr2d;
116 extern GLfloat
bzl2d[26][3];
121 extern GLfloat
eqvec[3];
124 extern GLfloat ****
kveq;
134 extern GLfloat
trans[3];
135 extern GLfloat
rot[3][3];
143 extern GLfloat
black[4];
144 extern GLfloat
gray[4];
145 extern GLfloat
wgray[4];
146 extern GLfloat
bgray[4];
147 extern GLfloat
white[4];
148 extern GLfloat
cyan[4];
151 extern GLfloat
red[4];
152 extern GLfloat
green[4];
153 extern GLfloat
blue[4];
158 extern GLfloat
arrow[2][3];
GLfloat green[4]
Green color code.
int corner[6][4]
Corners of tetrahedron.
GLfloat bvec[3][3]
Reciprocal lattice vector.
GLfloat patch_max
Max value across patch.
int itet
Counter for tetrahedron.
int nbzl
The number of Lines of 1st Brillouin zone.
int ng0[3]
-point grid in the input file
int lstereo
Switch for the stereogram.
int interpol
Ratio of interpolation.
GLfloat rot[3][3]
Rotation matrix.
GLfloat sphere_v[190][2][3]
Vertex for wireflame sphere: 10*10+10*90.
GLfloat trans[3]
Translation.
GLfloat **** eig
Eigenvalues [nb][ng[0]][ng[1]][ng[2]].
GLfloat BackGroundColor[4]
Background color code.
GLfloat secscale
0.0 (across ) or 1.0
int * nequator
The number of equator.
GLfloat sx
Scale of mouse movement.
GLfloat patch_min
Max value across patch.
GLfloat **** kveq
-vector of equator [nb][nequator][2][3]
GLfloat yellow[4]
Yellow color code.
GLfloat bzl2d[26][3]
Lines of 1st BZ [nbzl2d (max:26)][3].
int color_scale
Switch for full color scale mode.
GLfloat ** nmlp_rot
Normal vector of patchs [nb][ntri*3*3].
int nbzl2d
The number of Lines of 1st Brillouin zone.
int nthreads
Number of OpenMP threads.
GLfloat wgray[4]
Gray color code.
GLfloat bgray[4]
Gray color code.
int nodeline
Switch for node lines.
GLfloat cyan[4]
Cyan color code.
int * nnl
The number of nodeline.
GLfloat sphere_c[3]
Center of wireflame sphere.
GLfloat bzl[676][2][3]
Lines of 1st BZ [nbzl(max:26*26=676)][2][3].
GLfloat blue[4]
Blue color code.
int fbz
Switch for 1st Brillouin zone mode.
GLfloat gray[4]
Gray color code.
GLfloat eqvec_fr[3]
-vector for equator
int lmouse
Switch for the mouse function.
int nbragg
Number of Bragg plane og 1st BZ.
GLfloat ***** mat
Matrix element [nb][ng[0]][ng[1]][ng[2]][3].
@ MOUSE_SCROLL_UP
Mouse wheel up.
GLfloat scl
Initial scale.
GLfloat **** kvp
-vectors of points [nb][ntri][3][3]
int cx
Starting point of drug.
GLfloat secvec[3]
-vector to define section
GLfloat ** rgb_band
Switch for drawn bands [nb].
GLfloat ** kveq_rot
-vector of equator [nb][nequator*2*3]
GLfloat bragg[26][3]
Bragg plane vectors.
int lequator
Switch for equator.
GLfloat bzl2d_proj[26][3]
Lines of 1st BZ [nbzl2d (max:26)][3], projected into 2D plane.
int BZ_number[3]
Number of BZ.
int nb
The number of Bands.
int ng[3]
Interpolated -grids
GLfloat ** kv2d
-vector for 2D plot [nb][n2d*2*3]
GLfloat ** kvnl_rot
-vector of nodeline [nb][nnl*2*3]
GLfloat thetax
Rotation angle.
int cy
Starting point of drug.
GLfloat side
Which side is lighted.
GLfloat thetay
Rotation angle.
GLfloat sy
Scale of mouse movement.
GLfloat ** clr2d
Matrix element for 2D plot [nb][n2d*2*4].
int * n2d
Number of line segment.
GLfloat **** kvnl
-vector of nodeline [nb][nnl][2][3]
GLfloat black[4]
Black color code.
GLfloat axis2d[2][3]
-vector to define section
GLfloat avec[3][3]
Direct lattice vector.
GLfloat **** nmlp
Normal vector of patchs [nb][ntri][3][3].
int lsection
Switch for the 2D Fermi lines.
GLfloat eqvec[3]
-vector for equator
GLfloat SectionColor[4]
Line color code.
GLfloat ** clr
Colors of points [nb][ntri*3*4].
int * ntri
The number of triangle patch [nb].
GLfloat secvec_fr[3]
-vector to define section
GLfloat ***** vf
Matrix element [nb][ng[0]][ng[1]][ng[2]][3].
GLfloat ***** mat0
Matrix element [nb][ng0[0]][ng0[1]][ng0[2]][3].
GLfloat thetaz
Rotation angle.
GLfloat **** matp
Matrix elements of points [nb][ntri][3][3].
GLfloat linewidth
BZ/nodal-line/Fermiline width.
GLfloat magenta[4]
Magenta color code.
GLfloat white[4]
White color code.
GLfloat **** eig0
Eigenvalues [nb][ng0[0]][ng0[1]][ng0[2]].
int lcolorbar
Switch for colorbar.
GLfloat red[4]
Red color code.
GLfloat ** kvp_rot
-vectors of points [nb][ntri*3*3]
GLfloat LineColor[4]
Line color code.
GLfloat sphere_r
Radius of wireflame sphere.
GLfloat brnrm[26]
Norms of Bragg plane vectors.
int * draw_band
Switch for drawn bands [nb].
int shiftk[3]
Wherether -grid is shifted or not.
GLfloat brnrm_min
Minimum scale of the reciplocal space.
@ MOUSE_SCROLL_DOWN
Mouse wheel down.