00001 // mtz_utils.hh 00002 00003 #ifndef MTZ_UTILS_HEADER 00004 #define MTZ_UTILS_HEADER 00005 00006 // CCP4 00007 //#include "csymlib.h" // CCP4 symmetry stuff 00008 #include "cmtzlib.h" // CCP4 MTZlib headers (namespace CMtz) 00009 00010 #include "hkl_symmetry.hh" 00011 00012 namespace MtzIO 00013 { 00014 //-------------------------------------------------------------- 00015 // Make clipper symop string from MTZ operators 00016 std::vector<clipper::Symop> ClipperSymopsFromMtzSYMGRP(const CMtz::SYMGRP& mtzsym); 00017 //-------------------------------------------------------------- 00018 // Mtz symmetry from SpaceGroup 00019 CMtz::SYMGRP spg_to_mtz(const scala::SpaceGroup& cspgp, const char& HorR); 00020 //-------------------------------------------------------------- 00021 //&&& CSym::CCP4SPG * spg_mtz_to_csym(const CMtz::SYMGRP& mtzsym); 00022 //-------------------------------------------------------------- 00023 //&&& CMtz::SYMGRP spg_csym_to_mtz(const CSym::CCP4SPG * csym); 00024 //-------------------------------------------------------------- 00025 // true if two MTZ-style symmetry structures are equal 00026 bool CmtzSymgrpEqual(const CMtz::SYMGRP& sg1, const CMtz::SYMGRP& sg2); 00027 00028 } 00029 00030 #endif
1.6.3