git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12813 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -189,13 +189,13 @@ namespace ATC {
|
||||
//--------------------------------------------------------
|
||||
// initialize
|
||||
//--------------------------------------------------------
|
||||
void SmallMoleculeSet::initialize()
|
||||
void SmallMoleculeSet::initialize(std::map<int, double> * globalAtomsPerMolecule)
|
||||
{
|
||||
// make sure newton_bond is off, otherwise use large molecule set
|
||||
if (lammps_->newton_bond())
|
||||
throw ATC_Error("Cannot use newton_bond with small molecules");
|
||||
|
||||
MoleculeSet::initialize();
|
||||
MoleculeSet::initialize(globalAtomsPerMolecule);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user