Skip to content

TrajectoryIntegrator

Ronja Schnur edited this page Jan 16, 2023 · 2 revisions

Class that manages the integration process.

__init__(
    settings : pygranite.IntegratorSettings, # IntegratorSettings instance
    loader : pygranite.DataLoader, # User implemented 'DataLoader'
    set : pygranite.TrajectorySet # TrajectorySet instance containing initial particle positions.
) -> pygranite.TrajectoryIntegrator

 

compute() -> pygranite.TrajectorySet

Runs the simulation on the GPU. Returns a TrajectorySet instance with all computed data.