jf1uids.data_classes.simulation_snapshot_data module#

class jf1uids.data_classes.simulation_snapshot_data.SnapshotData(time_points: Array = None, states: Array = None, final_state: Array = None, total_mass: Array = None, total_energy: Array = None, internal_energy: Array = None, kinetic_energy: Array = None, gravitational_energy: Array = None, radial_momentum: Array = 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.

final_state: Array#

The final state of the simulation. This is especially useful when no snapshots are returned but only the statistics.

gravitational_energy: Array#

gravitational energy

internal_energy: Array#

internal energy

kinetic_energy: Array#

kinetic energy

num_iterations: int#

Number of timesteps taken.

radial_momentum: Array#

Radial momentum

runtime: float#

Alias for field number 9

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.