mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Modified id reading and mapping to make mols specify which sites they need pair potentials for and only look for them in the potentialDict. Ids requiring pair potentials are stored first in the siteIdList to make the look-up of them in pairPotential work as before.
This commit is contained in:
@ -43,10 +43,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
potential pot(mesh);
|
||||
|
||||
const pairPotentialList& pairPot(pot.pairPotentials());
|
||||
|
||||
Info<< pairPot.energy(0, 0, 0.45e-9) << endl;
|
||||
|
||||
moleculeCloud molecules(mesh, pot);
|
||||
|
||||
Info << "\nStarting time loop\n" << endl;
|
||||
|
||||
Reference in New Issue
Block a user