sailfish.solvers.cbdiso_2d.Options

class sailfish.solvers.cbdiso_2d.Options(velocity_ceiling: float = 1000000000000.0, density_floor: float = 1e-12, rk_order: int = 2)[source]

Bases: NamedTuple

Contains parameters which are solver specific options.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

density_floor

Alias for field number 1

rk_order

Alias for field number 2

velocity_ceiling

Alias for field number 0

count(value, /)

Return number of occurrences of value.

density_floor: float

Alias for field number 1

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

rk_order: int

Alias for field number 2

velocity_ceiling: float

Alias for field number 0