Skip to content

A potential bug for determining time steps to be sampled #140

@keiyamamo

Description

@keiyamamo

Hi @hkjeldsberg

If I understand correctly, save_frequency is the time step frequency used during the simulation, while step is how often you want to save the outputs.

saved_time_steps_per_cycle = int(T / dt / save_frequency / step)

Here, saved_time_steps_per_cycle is divided by both save_frequency and step, but shouldn’t it be only save_frequency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions