9 #ifndef IMPATOM_CHARMM_SEGMENT_TOPOLOGY_H
10 #define IMPATOM_CHARMM_SEGMENT_TOPOLOGY_H
14 #include <IMP/atom/atom_config.h>
18 IMPATOM_BEGIN_NAMESPACE
38 : base::Object(name) {}
77 typedef std::map<const CHARMMResidueTopology *, Hierarchy> ResMap;
79 void map_residue_topology_to_hierarchy(
Hierarchy hierarchy,
80 ResMap &resmap)
const;
84 std::string name =
"CHARMM topology %1%")
85 :
Object(name), force_field_(force_field) {
97 void add_sequence(std::string sequence);
101 for (
unsigned int i = 0; i < get_number_of_segments(); ++i) {
102 get_segment(i)->apply_default_patches(force_field_);
120 void add_atom_types(
Hierarchy hierarchy)
const;
153 void add_coordinates(
Hierarchy hierarchy)
const;
163 void add_missing_atoms(
Hierarchy hierarchy)
const;
173 void setup_hierarchy(
Hierarchy hierarchy)
const;
179 void add_charges(
Hierarchy hierarchy)
const;
244 IMPATOM_END_NAMESPACE
access to Charmm force field parameters
void set_was_used(bool tf) const
A smart pointer to a reference counted object.
The topology of a single residue in a model.
CHARMM force field parameters.
Classes for handling CHARMM-style topology.
Decorator for helping deal with a hierarchy of molecules.
void apply_default_patches()
Call CHARMMSegmentTopology::apply_default_patches() for all segments.
The standard decorator for manipulating molecular structures.
Object(std::string name)
Construct an object with the given name.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
The topology of a single CHARMM segment in a model.
A shared base class to help in debugging and things.
The topology of a complete CHARMM model.
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
void add_bonds(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters())
Class for storing model, its restraints, constraints, and particles.