- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
16
cell.h
16
cell.h
@ -18,10 +18,10 @@
|
||||
/**
|
||||
* lattice parameters: either reciprocal or direct
|
||||
*/
|
||||
typedef struct {
|
||||
double a,b,c;
|
||||
double alpha, beta, gamma;
|
||||
}lattice, *plattice;
|
||||
typedef struct {
|
||||
double a, b, c;
|
||||
double alpha, beta, gamma;
|
||||
} lattice, *plattice;
|
||||
/**
|
||||
* defaultCell assigns defualt values to cell parameters
|
||||
* @param cell The lattice to assign default too
|
||||
@ -32,15 +32,15 @@ void defaultCell(plattice cell);
|
||||
* @param direct The input direct cell parameters.
|
||||
* @param reciprocal The output reciprocal cell constants
|
||||
* @return 0 on success, > 0 else
|
||||
*/
|
||||
int directToReciprocalLattice(lattice direct, plattice reciprocal);
|
||||
*/
|
||||
int directToReciprocalLattice(lattice direct, plattice reciprocal);
|
||||
/**
|
||||
* conversion from a reciprocal lattice to the directone.
|
||||
* @param reciprocal The input reciprocal cell parameters.
|
||||
* @param direct The output direct cell constants
|
||||
* @return 0 on success, > 0 else
|
||||
*/
|
||||
int reciprocalToDirectLattice(lattice reciprocal, plattice direct);
|
||||
*/
|
||||
int reciprocalToDirectLattice(lattice reciprocal, plattice direct);
|
||||
/**
|
||||
* calculate a crystallographic B matrix from the cell constants
|
||||
* @param direct The direct cell lattice to calculate B from
|
||||
|
Reference in New Issue
Block a user