Clipper
|
HKL reference with coord-like behaviour. More...
#include <hkl_info.h>
Public Member Functions | |
HKL_reference_coord () | |
Null constructor. | |
HKL_reference_coord (const HKL_info &hklinfo_, const HKL &hkl) | |
Constructor: takes parent HKL_info and initial HKL. | |
const HKL & | hkl () const |
return the current HKL | |
const int & | sym () const |
get current symop number | |
const bool & | friedel () const |
get current friedel flag | |
HKL_reference_coord & | set_hkl (const HKL &hkl__) |
assign from HKL More... | |
HKL_reference_coord & | next () |
increment to next reflection | |
HKL_reference_coord & | next_h () |
increment h | |
HKL_reference_coord & | next_k () |
increment k | |
HKL_reference_coord & | next_l () |
increment l | |
HKL_reference_coord & | prev_h () |
decrement h | |
HKL_reference_coord & | prev_k () |
decrement k | |
HKL_reference_coord & | prev_l () |
decrement l | |
HKL_reference_coord & | operator= (const HKL &hkl__) |
operator assign from HKL | |
const HKL_info & | base_hkl_info () const |
const int & | index () const |
const ftype | invresolsq () const |
bool | last () const |
![]() | |
const HKL_info & | base_hkl_info () const |
return the parent HKL_info | |
const int & | index () const |
return the current index (-1 if invalid) | |
ftype | invresolsq (const HKL_data_base &hkldata) const |
return the inv resol sq for the reflection (assumes index valid) | |
ftype | invresolsq () const |
return the inv resol sq for the reflection (assumes index valid) | |
bool | last () const |
test if index has gone past last reflection | |
Protected Attributes | |
HKL | hkl_ |
int | sym_ |
bool | friedel_ |
![]() | |
const HKL_info * | hklinfo |
int | index_ |
HKL reference with coord-like behaviour.
This is a reference to an HKL. It behaves like an HKL, but also stores the index of the corresponding reflection in the reflection list, if it exists, and the symmetry and friedel operators required to get there.
|
inline |