- First commit of the new UB based TAS calculation. A milestone has been
reached: it handles one test case correctly back and forth - Fixed oscillation code - Added a feature for switching off automatic updates in nxupdate Autoamtic updates cause problems when scanning...
This commit is contained in:
12
cell.c
12
cell.c
@ -17,7 +17,17 @@
|
||||
#define PI (3.1415926536) /* pi */
|
||||
#endif
|
||||
#define TWOPI (2*PI) /* 2*pi */
|
||||
|
||||
/*****************************************************************************
|
||||
* default value for a cell
|
||||
****************************************************************************/
|
||||
void defaultCell(plattice cell){
|
||||
cell->a = 1.;
|
||||
cell->b = 1.;
|
||||
cell->c = 1.;
|
||||
cell->alpha = 90.;
|
||||
cell->beta = 90.;
|
||||
cell->gamma = 90.;
|
||||
}
|
||||
/*******************************************************************************
|
||||
* Transform direct lattice to reciprocal lattice.
|
||||
*******************************************************************************/
|
||||
|
Reference in New Issue
Block a user