Struct salva3d::TimestepManager[][src]

pub struct TimestepManager { /* fields omitted */ }
Expand description

Structure responsible for regulating the timestep length of the simulation.

Implementations

Initialize a new timestep manager with default parameters.

Resets the remaining time of the timestep manager.

Checks if all the time of this timestep has been consumed.

The current substep length.

The inverse of the current substep length.

If the substep length is zero, this inverse is also zero.

Advance to the next substep.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.