RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
NonBondedHHSGrid.h
1/***********************************************************************
2 * The rDock program was developed from 1998 - 2006 by the software team
3 * at RiboTargets (subsequently Vernalis (R&D) Ltd).
4 * In 2006, the software was licensed to the University of York for
5 * maintenance and distribution.
6 * In 2012, Vernalis and the University of York agreed to release the
7 * program as Open Source software.
8 * This version is licensed under GNU-LGPL version 3.0 with support from
9 * the University of Barcelona.
10 * http://rdock.sourceforge.net/
11 ***********************************************************************/
12
13#ifndef _RBTNONBONDEDHHSGRID_H_
14#define _RBTNONBONDEDHHSGRID_H_
15
16#include "rxdock/BaseGrid.h"
17#include "rxdock/SATypes.h"
18
19namespace rxdock {
20
21// typedefs are in SATypes.h
22// rest of the class architecture from NonBondedGrid.h
23// but instead Atom HHS_Solvation is used as operand
24
25class NonBondedHHSGrid : public BaseGrid {
26public:
27 static const std::string _CT;
28 NonBondedHHSGrid(const Coord &gridMin, const Coord &gridStep, unsigned int NX,
29 unsigned int NY, unsigned int NZ, unsigned int NPad = 0);
30 NonBondedHHSGrid(json j);
32
35 NonBondedHHSGrid &operator=(const NonBondedHHSGrid &);
36 NonBondedHHSGrid &operator=(const BaseGrid &);
37
38 virtual void Print(std::ostream &ostr) const;
39
40 const HHS_SolvationRList &GetHHSList(unsigned int iXYZ) const;
41 const HHS_SolvationRList &GetHHSList(const Coord &c) const;
42
43 void SetHHSLists(HHS_Solvation *pHHS, double radius);
44 void ClearHHSLists(void);
45
46protected:
47 void OwnPrint(std::ostream &ostr) const;
48
49private:
51
52 void CopyGrid(const NonBondedHHSGrid &);
53 void CreateMap();
54
55 HHS_SolvationListMap m_hhsMap;
56 const HHS_SolvationRList m_emptyList;
57};
58
60
61} // namespace rxdock
62
63#endif // _RBTNONBONDEDHHSGRID_H_
Definition BaseGrid.h:27
Definition Coord.h:45
Definition SATypes.h:111
Definition NonBondedHHSGrid.h:25
Definition SmartPointer.h:48