--- trunk/src/applications/nanoparticleBuilder/nanoparticleBuilder.cpp 2006/03/22 20:57:09 911 +++ trunk/src/applications/nanoparticleBuilder/nanoparticleBuilder.cpp 2006/03/30 19:37:48 925 @@ -147,18 +147,23 @@ int main(int argc, char *argv []) { outInitFileName = getPrefix(inputFileName.c_str()) + ".in"; } + std::cout <<"Before build shaped lattice. "<getMoleculeStamp(0), oldInfo->getForceField()); /* Create nanoparticle */ shapedLatticeSpherical nanoParticle(latticeConstant,latticeType,particleRadius); + + std::cout <<"Before build getPoints. "< nanoParticleSites = nanoParticle.getPoints(); + /* Get number of lattice sites */ numSites = nanoParticleSites.size(); + //std::cout <<"numSites are %d "<beginMolecule(mi); int l = 0; for (mol = NewInfo->beginMolecule(mi); mol != NULL; mol = NewInfo->nextMolecule(mi)) { - locator->placeMol(latticePos[l], latticeOrt[l], mol); + locator->placeMol(nanoParticleSites[l], latticeOrt[l], mol); l++; } + - - - //fill Hmat hmat(0, 0)= latticeConstant;