SimulationLoopHagedornInhomogeneous

About the SimulationLoopHagedornInhomogeneous class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012 R. Bourquin @license: Modified BSD License

Inheritance diagram

Inheritance diagram of SimulationLoopHagedornInhomogeneous

Class documentation

class WaveBlocks.SimulationLoopHagedornInhomogeneous(parameters)

This class acts as the main simulation loop. It owns a propagator that propagates a set of initial values during a time evolution. All values are read from the Parameters.py file.

IOManager = None

A IOManager instance for saving simulation results.

end_simulation()

Do the necessary cleanup after a simulation. For example request the IOManager to write the data and close the output files.

nsteps = None

The number of time steps we will perform.

prepare_simulation()

Set up a multi Hagedorn propagator for the simulation loop. Set the potential and initial values according to the configuration.

Raises ValueError:
 For invalid or missing input data.
propagator = None

The time propagator instance driving the simulation.

run_simulation()

Run the simulation loop for a number of time steps. The number of steps is calculated in the initialize function.

Table Of Contents

Previous topic

SimulationLoopHagedorn

Next topic

TimeManager

This Page