ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
The ObjectGenerator sets up a phase space by filling volumetric objects. More...
#include <ObjectGenerator.h>
Public Member Functions | |
virtual void | readXML (XMLfileUnits &xmlconfig) |
Read in XML configuration for ObjectGenerator and all its included objects. More... | |
void | setFiller (std::shared_ptr< ObjectFillerBase > filler) |
void | setObject (std::shared_ptr< Object > object) |
void | setVelocityAssigner (std::shared_ptr< VelocityAssignerBase > vAssigner) |
void | setMoleculeIDPool (std::shared_ptr< MoleculeIdPool > moleculeIdPool) |
void | readPhaseSpaceHeader (Domain *, double) |
read the phase space components and header information More... | |
unsigned long | readPhaseSpace (ParticleContainer *particleContainer, Domain *domain, DomainDecompBase *domainDecomp) |
read the actual phase space information More... | |
The ObjectGenerator sets up a phase space by filling volumetric objects.
The idea of the ObjectGenerator is to create a composite 3D volumetric Object and fill this with molecules. The molecule placement into the object is performed by a Filler. The assignment of molecule velocities is performed by a VelocityAssigner. The molecule IDs are provided by a MoleculeIdPool.
|
virtual |
read the actual phase space information
Implements InputBase.
|
inlinevirtual |
read the phase space components and header information
domain | pointer to domain object |
timestep | timestep length |
Implements InputBase.
|
virtual |
Read in XML configuration for ObjectGenerator and all its included objects.
The following XML object structure is handled by this method:
Reimplemented from InputBase.