jf1uids.data_classes.simulation_snapshot_data module#

class jf1uids.data_classes.simulation_snapshot_data.SnapshotData(time_points: Array | None = None, states: Array | None = None, total_mass: Array | None = None, total_energy: Array | None = None, internal_energy: Array | None = None, kinetic_energy: Array | None = None, gravitational_energy: Array | None = None, runtime: float = 0.0, num_iterations: int = 0, current_checkpoint: int = 0)[source]#

Bases: NamedTuple

Return format for the time integration, when snapshots are requested.

current_checkpoint: int#

The current checkpoint, used internally.

gravitational_energy: Array#

gravitational energy

internal_energy: Array#

internal energy

kinetic_energy: Array#

kinetic energy

num_iterations: int#

Number of timesteps taken.

runtime: float#

Alias for field number 7

states: Array#

The primitive states at the times the snapshots were taken.

time_points: Array#

The times at which the snapshots were taken.

total_energy: Array#

The total energy at the times the snapshots were taken.

total_mass: Array#

The total mass at the times the snapshots were taken.