8 #include "PointGenerator.h" 9 #include <mcMd/simulation/Simulation.h> 10 #include <mcMd/simulation/System.h> 11 #include <simp/boundary/Boundary.h> 36 while (!success && iAttempt < maxAttempt) {
void randomPosition(Random &random, Vector &r) const
Generate random position within the primary unit cell.
PointGenerator(Simp::Species &species, System &system)
Constructor.
A set of interacting Molecules enclosed by a Boundary.
Classes used by all simpatico molecular simulations.
A point particle within a Molecule.
Utility classes for scientific computation.
const Boundary & boundary() const
Get the associated Boundary by reference.
Generates initial configurations for molecules of one species.
Simulation & simulation()
Get the associated Simulation by reference.
A cell list for Atom objects in a periodic system boundary.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
const Atom & atom(int localId) const
Get a specific Atom in this Molecule.
A physical molecule (a set of covalently bonded Atoms).
const Vector & position() const
Get the position Vector by const reference.
A Species represents a set of chemically similar molecules.
bool attemptPlaceAtom(Atom &atom, const Array< double > &diameters, CellList &cellList)
Attempt to place an atom.
bool attemptPlaceMolecule(Molecule &molecule, Array< double > const &diameters, CellList &cellList)
Attempt to place an "molecule" (i.e., an atom).