| fermisurfer
    2.0.0
    fermisurfer | 

Go to the source code of this file.
| Functions | |
| int | modulo (int i, int n) | 
| Work as Modulo function of fortran.  More... | |
| GLfloat | solve3 (GLfloat a[3][3], GLfloat b[3]) | 
| Solve linear system.  More... | |
| void | eigsort (int n, GLfloat *key, int *swap) | 
| Simple sort.  More... | |
| void | normal_vec (GLfloat in1[3], GLfloat in2[3], GLfloat in3[3], GLfloat out[3]) | 
| Calculate normal vector from corners of triangle.  More... | |
| int | get_thread () | 
| OpenMP wrapper, get the number of threads.  More... | |
| void eigsort | ( | int | n, | 
| GLfloat * | key, | ||
| int * | swap | ||
| ) | 
Simple sort.
Definition at line 88 of file basic_math.cpp.
Referenced by bragg_vector(), calc_nodeline(), calc_section(), and equator().

| int get_thread | ( | ) | 
OpenMP wrapper, get the number of threads.
Definition at line 139 of file basic_math.cpp.
Referenced by calc_nodeline(), calc_section(), equator(), and max_and_min().

| int modulo | ( | int | i, | 
| int | n | ||
| ) | 
Work as Modulo function of fortran.
Definition at line 46 of file basic_math.cpp.
Referenced by interpol_energy(), and read_file().

| void normal_vec | ( | GLfloat | in1[3], | 
| GLfloat | in2[3], | ||
| GLfloat | in3[3], | ||
| GLfloat | out[3] | ||
| ) | 
Calculate normal vector from corners of triangle.
Definition at line 114 of file basic_math.cpp.
| GLfloat solve3 | ( | GLfloat | a[3][3], | 
| GLfloat | b[3] | ||
| ) | 
Solve linear system.
Definition at line 58 of file basic_math.cpp.
Referenced by allocate_griddata(), bragg_vert(), and bragg_vert2d().

 1.8.17
 1.8.17