![]() |
![]() |
![]() |
hkl Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
HklLattice; HklLattice * hkl_lattice_new (double a
,double b
,double c
,double alpha
,double beta
,double gamma
); HklLattice * hkl_lattice_new_copy (HklLattice const *self
); HklLattice * hkl_lattice_new_default (void
); void hkl_lattice_free (HklLattice *self
); int hkl_lattice_set (HklLattice *self
,double a
,double b
,double c
,double alpha
,double beta
,double gamma
); int hkl_lattice_get_B (HklLattice const *self
,HklMatrix *B
); int hkl_lattice_get_1_B (const HklLattice *self
,HklMatrix *B
); int hkl_lattice_reciprocal (HklLattice const *self
,HklLattice *r
); void hkl_lattice_randomize (HklLattice *self
); void hkl_lattice_fprintf (FILE *f
,HklLattice const *self
);
typedef struct { HklParameter *a; HklParameter *b; HklParameter *c; HklParameter *alpha; HklParameter *beta; HklParameter *gamma; } HklLattice;
HklLattice * hkl_lattice_new (double a
,double b
,double c
,double alpha
,double beta
,double gamma
);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
HklLattice * hkl_lattice_new_copy (HklLattice const *self
);
|
|
Returns : |
int hkl_lattice_set (HklLattice *self
,double a
,double b
,double c
,double alpha
,double beta
,double gamma
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
int hkl_lattice_get_B (HklLattice const *self
,HklMatrix *B
);
|
|
|
|
Returns : |
int hkl_lattice_get_1_B (const HklLattice *self
,HklMatrix *B
);
Compute the invert of B (needed by the hkl_sample_set_UB method) should be optimized
|
the HklLattice
|
|
the HklMatrix returned
|
Returns : |
HKL_SUCCESS or HKL_FAIL depending of the success of the computation. |
int hkl_lattice_reciprocal (HklLattice const *self
,HklLattice *r
);
|
|
|
|
Returns : |