Skip to contents

A model runs as native code generated by MIR, or on MIR's interpreter where native code cannot be made here; both give the same doubles (design §6.3). pmx_ode_tier(model) says which tier model runs on; pmx_ode_tier(model, tier) returns a copy that runs on tier.

Usage

pmx_ode_tier(model, tier)

Arguments

model

A model.

tier

"auto" (native where it runs, else the interpreter), "native" or "interp".

Value

The tier, "native" or "interp"; or, given tier, the model on that tier.

Errors

pmx_ode_error_no_tier when the tier asked for does not run in this session, or when none does: zumir::zumir_tier() reports what the system allows.