54 |
|
#include <utility> |
55 |
|
#include <vector> |
56 |
|
|
57 |
< |
#include "brains/Exclude.hpp" |
57 |
> |
#include "brains/PairList.hpp" |
58 |
|
#include "io/Globals.hpp" |
59 |
|
#include "math/Vector3.hpp" |
60 |
|
#include "math/SquareMatrix3.hpp" |
370 |
|
* @see #SimCreator::setGlobalIndex |
371 |
|
*/ |
372 |
|
void setGlobalGroupMembership(const std::vector<int>& globalGroupMembership) { |
373 |
< |
assert(globalGroupMembership.size() == nGlobalAtoms_); |
373 |
> |
assert(globalGroupMembership.size() == static_cast<size_t>(nGlobalAtoms_)); |
374 |
|
globalGroupMembership_ = globalGroupMembership; |
375 |
|
} |
376 |
|
|
379 |
|
* @see #SimCreator::setGlobalIndex |
380 |
|
*/ |
381 |
|
void setGlobalMolMembership(const std::vector<int>& globalMolMembership) { |
382 |
< |
assert(globalMolMembership.size() == nGlobalAtoms_); |
382 |
> |
assert(globalMolMembership.size() == static_cast<size_t>(nGlobalAtoms_)); |
383 |
|
globalMolMembership_ = globalMolMembership; |
384 |
|
} |
385 |
|
|
437 |
|
GenericData* getPropertyByName(const std::string& propName); |
438 |
|
|
439 |
|
/** |
440 |
< |
* add all exclude pairs of a molecule into exclude list. |
440 |
> |
* add all special interaction pairs (including excluded |
441 |
> |
* interactions) in a molecule into the appropriate lists. |
442 |
|
*/ |
443 |
< |
void addExcludePairs(Molecule* mol); |
443 |
> |
void addInteractionPairs(Molecule* mol); |
444 |
|
|
445 |
|
/** |
446 |
< |
* remove all exclude pairs which belong to a molecule from exclude list |
446 |
> |
* remove all special interaction pairs which belong to a molecule |
447 |
> |
* from the appropriate lists. |
448 |
|
*/ |
449 |
+ |
void removeInteractionPairs(Molecule* mol); |
450 |
|
|
448 |
– |
void removeExcludePairs(Molecule* mol); |
451 |
|
|
450 |
– |
|
452 |
|
/** Returns the unique atom types of local processor in an array */ |
453 |
|
std::set<AtomType*> getUniqueAtomTypes(); |
454 |
|
|
539 |
|
int nConstraints_; /**< number of constraints in local processors */ |
540 |
|
|
541 |
|
simtype fInfo_; /**< A dual struct shared by c++/fortran which indicates the atom types in simulation*/ |
542 |
< |
Exclude exclude_; |
542 |
> |
PairList excludedInteractions_; |
543 |
> |
PairList oneTwoInteractions_; |
544 |
> |
PairList oneThreeInteractions_; |
545 |
> |
PairList oneFourInteractions_; |
546 |
|
PropertyMap properties_; /**< Generic Property */ |
547 |
|
SnapshotManager* sman_; /**< SnapshotManager */ |
548 |
|
|