ForceAnnealing_goodresults
ForceAnnealing_tocheck
|
Last change
on this file since c5bd60c was b4f72c, checked in by Frederik Heber <heber@…>, 13 years ago |
|
ExportGraph_ToFiles now does not require molecule reference anymore.
- SortIndex is now just a dummy (identity) map.
- FragmentationAction combines all graphs from each Fragmentationm call and
exports these in one go.
|
-
Property mode
set to
100644
|
|
File size:
513 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SortIndex.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Sep 20, 2012
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef SORTINDEX_HPP_
|
|---|
| 9 | #define SORTINDEX_HPP_
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | // include config.h
|
|---|
| 13 | #ifdef HAVE_CONFIG_H
|
|---|
| 14 | #include <config.h>
|
|---|
| 15 | #endif
|
|---|
| 16 |
|
|---|
| 17 | #include <map>
|
|---|
| 18 |
|
|---|
| 19 | #include "types.hpp"
|
|---|
| 20 |
|
|---|
| 21 | class molecule;
|
|---|
| 22 |
|
|---|
| 23 | /** This is just a wrapper class meant for refactoring. It emulates a map.
|
|---|
| 24 | *
|
|---|
| 25 | */
|
|---|
| 26 | class SortIndex_t
|
|---|
| 27 | {
|
|---|
| 28 | public:
|
|---|
| 29 | SortIndex_t();
|
|---|
| 30 |
|
|---|
| 31 | int find(atomId_t id) const;
|
|---|
| 32 |
|
|---|
| 33 | private:
|
|---|
| 34 | typedef std::map<atomId_t, int> index_t;
|
|---|
| 35 | index_t index;
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 | #endif /* SORTINDEX_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.