NAMD
GlobalMasterSymmetry.h
Go to the documentation of this file.
1 
7 #ifndef GLOBALMASTERSYMMETRY_H
8 #define GLOBALMASTERSYMMETRY_H
9 
10 #include "GlobalMaster.h"
11 #include "PDBData.h"
12 #include <map>
13 #include <vector>
14 #include "Matrix4Symmetry.h"
15 
17 public:
20 
21 private:
22 // map <int, vector <Matrix4Symmetry> > matrices;
23  std::vector <Matrix4Symmetry> matrices;
24  std::map < int, Matrix4Symmetry > backmatrices;
25 
26  bool gluInvertMatrix(const BigReal [16], BigReal invOut[16]);
27  void initialTransform();
28  void backTransform();
29  // void alignMonomers();
30  void determineAverage();
31  void parseMatrix(int, char fileName []);
32  void calculate();
33  void parseAtoms(const char *file, int, int);
34 
35  std::map <int, std::map <int, int> > kdmap; //domain/atomid/k
36  std::map <int, Position> positions; //atomid/position
37  std::map <int, std::vector < BigReal * > > averagePos;
38  std::map <int, BigReal *> backavg;
39  std::map <int, std::vector<int> > dmap;
40  std::map <int, BigReal * > posmap;
41  std::map <int, BigReal * > startmap;
42  std::map <int, BigReal > kmap;
43  std::map <int, std::vector <int> > simmap;
44  std::map <int, int> bmap;
45 
46 
47  BigReal K;
48  const char *symmetrykfile;
49  int currentStep, firstStep, lastStep, firstFullStep, lastFullStep;
50  bool scaleForces;
51 };
52 #endif
double BigReal
Definition: common.h:114