--- branches/development/src/brains/SimInfo.cpp 2013/01/09 22:02:30 1830 +++ branches/development/src/brains/SimInfo.cpp 2013/02/20 13:52:51 1849 @@ -780,6 +780,22 @@ namespace OpenMD { #endif return atomTypes; + } + + + int getGlobalCountOfType(AtomType* atype) { + /* + set atypes = getSimulatedAtomTypes(); + map counts_; + + for(mol = beginMolecule(mi); mol != NULL; mol = nextMolecule(mi)) { + for(atom = mol->beginAtom(ai); atom != NULL; + atom = mol->nextAtom(ai)) { + atom->getAtomType(); + } + } + */ + return 0; } void SimInfo::setupSimVariables() {