ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
MultiObjectGenerator Class Reference
Inheritance diagram for MultiObjectGenerator:
InputBase

Public Member Functions

virtual void readXML (XMLfileUnits &xmlconfig)
 Read in XML configuration for Generator and all its included objects. More...
 
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...
 

Member Function Documentation

◆ readPhaseSpace()

unsigned long MultiObjectGenerator::readPhaseSpace ( ParticleContainer particleContainer,
Domain domain,
DomainDecompBase domainDecomp 
)
virtual

read the actual phase space information

Returns
number of read in molecules added to the particle containers of all processes
Todo:
Get rid of the domain class calls at this place here...

Implements InputBase.

◆ readPhaseSpaceHeader()

void MultiObjectGenerator::readPhaseSpaceHeader ( Domain domain,
double  timestep 
)
inlinevirtual

read the phase space components and header information

Parameters
domainpointer to domain object
timesteptimestep length

Implements InputBase.

◆ readXML()

void MultiObjectGenerator::readXML ( XMLfileUnits xmlconfig)
virtual

Read in XML configuration for Generator and all its included objects.

The following xml object structure is handled by this method:

Note
This structure is not fixed yet and may see changes
<generator name="MultiObjectGenerator">
<objectgenerator> <!-- ... --> </objectgenerator>
...
<velocityAssigner> <!-- ... --> </velocityAssigner>
</generator >

Reimplemented from InputBase.


The documentation for this class was generated from the following files: