5#ifndef GEMMI_INTEROP_HPP_
6#define GEMMI_INTEROP_HPP_
20 if (atom.
occ <= 0.5) {
31 Vec3 v = {1.0 / cell.
ar, 1.0 / cell.
br, 1.0 / cell.
cr};
32 site.aniso = {
t.u11 * v.x * v.x,
46 const Model& model =
st.models.at(n);
52 for (
const Residue& residue : chain.residues)
53 for (
const Atom& atom : residue.atoms)
SmallStructure mx_to_sx_structure(const Structure &st, int n=0)
SmallStructure::Site atom_to_site(const Atom &atom, const UnitCell &cell)
constexpr double u_to_b()
Represents atom site in macromolecular structure (~100 bytes).
const char * name() const
std::vector< Chain > chains
SMat33< Real > scaled(Real s) const
SMat33< Real > transformed_by(const Mat33 &m) const
double ar
reciprocal parameters a*, b*, c*, alpha*, beta*, gamma*
Fractional fractionalize(const Position &o) const
int is_special_position(const Fractional &fpos, double max_dist) const
Counts nearby symmetry mates (0 = none, 3 = 4-fold axis, etc).