Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::ReciprocalAsu Struct Reference

#include <symmetry.hpp>

Public Member Functions

 ReciprocalAsu (const SpaceGroup *sg, bool tnt=false)
 
bool is_in (const Op::Miller &hkl) const
 
bool is_in_reference_setting (int h, int k, int l) const
 
const charcondition_str () const
 
std::pair< Op::Miller, intto_asu (const Op::Miller &hkl, const GroupOps &gops) const
 Returns hkl in asu and MTZ ISYM - 2*n-1 for reflections in the positive asu (I+ of a Friedel pair), 2*n for reflections in the negative asu (I-).
 
std::pair< Op::Miller, boolto_asu_sign (const Op::Miller &hkl, const GroupOps &gops) const
 Similar to to_asu(), but the second returned value is sign: true for + or centric.
 

Public Attributes

int idx
 
Op::Rot rot {}
 
bool is_ref
 

Detailed Description

Definition at line 2009 of file symmetry.hpp.

Constructor & Destructor Documentation

◆ ReciprocalAsu()

gemmi::ReciprocalAsu::ReciprocalAsu ( const SpaceGroup sg,
bool  tnt = false 
)
inline

Definition at line 2014 of file symmetry.hpp.

Member Function Documentation

◆ is_in()

bool gemmi::ReciprocalAsu::is_in ( const Op::Miller hkl) const
inline

Definition at line 2025 of file symmetry.hpp.

◆ is_in_reference_setting()

bool gemmi::ReciprocalAsu::is_in_reference_setting ( int  h,
int  k,
int  l 
) const
inline

Definition at line 2034 of file symmetry.hpp.

◆ condition_str()

const char * gemmi::ReciprocalAsu::condition_str ( ) const
inline

Definition at line 2061 of file symmetry.hpp.

◆ to_asu()

std::pair< Op::Miller, int > gemmi::ReciprocalAsu::to_asu ( const Op::Miller hkl,
const GroupOps gops 
) const
inline

Returns hkl in asu and MTZ ISYM - 2*n-1 for reflections in the positive asu (I+ of a Friedel pair), 2*n for reflections in the negative asu (I-).

Definition at line 2089 of file symmetry.hpp.

◆ to_asu_sign()

std::pair< Op::Miller, bool > gemmi::ReciprocalAsu::to_asu_sign ( const Op::Miller hkl,
const GroupOps gops 
) const
inline

Similar to to_asu(), but the second returned value is sign: true for + or centric.

Definition at line 2104 of file symmetry.hpp.

Member Data Documentation

◆ idx

int gemmi::ReciprocalAsu::idx

Definition at line 2010 of file symmetry.hpp.

◆ rot

Op::Rot gemmi::ReciprocalAsu::rot {}

Definition at line 2011 of file symmetry.hpp.

◆ is_ref

bool gemmi::ReciprocalAsu::is_ref

Definition at line 2012 of file symmetry.hpp.


The documentation for this struct was generated from the following file: