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

#include <small.hpp>

Classes

struct  AtomType
 
struct  Site
 

Public Member Functions

std::vector< Siteget_all_unit_cell_sites () const
 
const SpaceGroupfind_spacegroup () const
 
const AtomTypeget_atom_type (const std::string &symbol) const
 
std::bitset<(size_t) El::ENDpresent_elements () const
 
void remove_hydrogens ()
 
void change_occupancies_to_crystallographic (double max_dist=0.4)
 
void setup_cell_images ()
 

Public Attributes

std::string name
 
UnitCell cell
 
std::string spacegroup_hm
 
std::vector< Sitesites
 
std::vector< AtomTypeatom_types
 
double wavelength = 0.
 

Detailed Description

Definition at line 22 of file small.hpp.

Member Function Documentation

◆ get_all_unit_cell_sites()

std::vector< SmallStructure::Site > gemmi::SmallStructure::get_all_unit_cell_sites ( ) const
inline

Definition at line 118 of file small.hpp.

◆ find_spacegroup()

const SpaceGroup * gemmi::SmallStructure::find_spacegroup ( ) const
inline

Definition at line 65 of file small.hpp.

◆ get_atom_type()

const AtomType * gemmi::SmallStructure::get_atom_type ( const std::string &  symbol) const
inline

Definition at line 69 of file small.hpp.

◆ present_elements()

std::bitset<(size_t) El::END > gemmi::SmallStructure::present_elements ( ) const
inline

Definition at line 77 of file small.hpp.

◆ remove_hydrogens()

void gemmi::SmallStructure::remove_hydrogens ( )
inline

Definition at line 84 of file small.hpp.

◆ change_occupancies_to_crystallographic()

void gemmi::SmallStructure::change_occupancies_to_crystallographic ( double  max_dist = 0.4)
inline

Definition at line 90 of file small.hpp.

◆ setup_cell_images()

void gemmi::SmallStructure::setup_cell_images ( )
inline

Definition at line 98 of file small.hpp.

Member Data Documentation

◆ name

std::string gemmi::SmallStructure::name

Definition at line 56 of file small.hpp.

◆ cell

UnitCell gemmi::SmallStructure::cell

Definition at line 57 of file small.hpp.

◆ spacegroup_hm

std::string gemmi::SmallStructure::spacegroup_hm

Definition at line 58 of file small.hpp.

◆ sites

std::vector<Site> gemmi::SmallStructure::sites

Definition at line 59 of file small.hpp.

◆ atom_types

std::vector<AtomType> gemmi::SmallStructure::atom_types

Definition at line 60 of file small.hpp.

◆ wavelength

double gemmi::SmallStructure::wavelength = 0.

Definition at line 61 of file small.hpp.


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