1#ifndef SRC_IO_OBJECTGENERATOR_H_
2#define SRC_IO_OBJECTGENERATOR_H_
6#include "io/InputBase.h"
24 ObjectGenerator() : _filler(
nullptr), _object(
nullptr), _velocityAssigner(
nullptr), _moleculeIdPool(
nullptr) {};
40 void setFiller(std::shared_ptr<ObjectFillerBase> filler) { _filler = filler; }
42 void setObject(std::shared_ptr<Object>
object) { _object = object; }
44 void setVelocityAssigner(std::shared_ptr<VelocityAssignerBase> vAssigner) { _velocityAssigner = vAssigner; }
46 void setMoleculeIDPool(std::shared_ptr<MoleculeIdPool> moleculeIdPool) { _moleculeIdPool = moleculeIdPool; }
53 std::shared_ptr<ObjectFillerBase> _filler;
54 std::shared_ptr<Object> _object;
55 std::shared_ptr<VelocityAssignerBase> _velocityAssigner;
56 std::shared_ptr<MoleculeIdPool> _moleculeIdPool;
handle boundary region and multiple processes
Definition: DomainDecompBase.h:51
This class is used to read in the phasespace and to handle macroscopic values.
Definition: Domain.h:47
The MoleculeIdPool manages molecule ID handling.
Definition: MoleculeIdPool.h:14
Definition: ObjectFillerBase.h:11
The ObjectGenerator sets up a phase space by filling volumetric objects.
Definition: ObjectGenerator.h:22
void readPhaseSpaceHeader(Domain *, double)
read the phase space components and header information
Definition: ObjectGenerator.h:48
unsigned long readPhaseSpace(ParticleContainer *particleContainer, Domain *domain, DomainDecompBase *domainDecomp)
read the actual phase space information
Definition: ObjectGenerator.cpp:98
virtual void readXML(XMLfileUnits &xmlconfig)
Read in XML configuration for ObjectGenerator and all its included objects.
Definition: ObjectGenerator.cpp:20
This Interface is used to get access to particles and pairs of particles.
Definition: ParticleContainer.h:69
Definition: VelocityAssignerBase.h:8
XML file with unit attributes abstraction.
Definition: xmlfileUnits.h:25