|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <PerCellGenerator.h>
Public Member Functions | |
| void | readXML (XMLfileUnits &xmlconfig) override |
| void | readPhaseSpaceHeader (Domain *domain, double timestep) override |
| read the phase space components and header information More... | |
| unsigned long | readPhaseSpace (ParticleContainer *particleContainer, Domain *domain, DomainDecompBase *domainDecomp) override |
| read the actual phase space information More... | |
Static Public Member Functions | |
| static void | fillContainer (ParticleContainer *particleContainer, Component *component, unsigned int numMoleculesPerCell, bool fillHalo) |
| static void | generateTwoParticles (ParticleContainer *particleContainer, Component *component) |
Class that generates equally distributed particles with exactly the given number of particles per cell.
|
static |
Fills the container with the specified number of molecules (with given component) per cell.
| particleContainer | |
| component | |
| numMoleculesPerCell | |
| fillHalo | Indicates whether to fill the halo cells as well. |
|
static |
Generates two particles/molecules at random positions within the boundaries of particleContainer.
| particleContainer | |
| component | The component of the particles. |
|
overridevirtual |
read the actual phase space information
Implements InputBase.
|
inlineoverridevirtual |
read the phase space components and header information
| domain | pointer to domain object |
| timestep | timestep length |
Implements InputBase.
|
overridevirtual |
The following xml object structure is handled by this method:
| xmlconfig |
Reimplemented from InputBase.