Skip to content

Allow phase look-up in Mixtures by both name and phase id #727

@ischoegl

Description

@ischoegl

Cantera version

all

Operating System

all

Python/MATLAB version

Python

Expected Behavior

The index of a phase ('Solution') within mixtures can be identified either by name or ID
(using the Mixture.phase_index method)

Actual Behavior

Mixture.phase_index currently requires name.

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