relentless.simulate.SimulationInstance#

class relentless.simulate.SimulationInstance(backend, initializer, potentials, directory)#

Specific instance of a simulation and its data.

Parameters:
  • backend (type) – Type of the simulation class.

  • initializer (SimulationOperation) – Operation to initialize the simulation.

  • potentials (Potentials) – The interaction potentials.

  • directory (str or Directory) – Directory for output.

backend#

Backend class type for the simulation.

Type:

type

potentials#

Potentials for the simulation.

Type:

Potentials

directory#

Directory for simulation data.

Type:

Directory

dimension#

Dimensionality of the simulation.

Type:

int

initializer#

Operation to initialize the simulation.

Type:

SimulationOperation

Methods

Attributes

pairs

Unique pairs of particle types in simulation.

types

Particle types in simulation.

property pairs#

Unique pairs of particle types in simulation.

Type:

tuple

property types#

Particle types in simulation.

Type:

tuple