Skip to content

Don't have dt as an argument to the physics evaluate methods #585

@tommbendall

Description

@tommbendall

Some physics schemes need to know the time step (separately from the time discretisation).

In case the time step changes, we currently pass dt into every evaluate method. It would be better to have physics.dt point to time_discretisation.dt, and set this in some set up method

Metadata

Metadata

Assignees

No one assigned

    Labels

    tidyingInvolves tidying up code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions