ebysus_dimensions

File Purpose: Dimension values & lists for Ebysus

— EXAMPLES FOR “SELECT BY SPECIES AND/OR LEVEL” —

fluids.get(FLUIDS_WITH_SL((1,2)) –> list of fluids with SL=(1,2)
array.pc.isel(fluid=FLUIDS_WITH_SS(1)) –> select fluids with SS=1; (SS=SL[0])
result will keep fluid dim. (like isel(fluid=[i0, i1, i2, …]))
fluids.get(FLUIDS_WITH_LL(min=5)) –> list of fluids with LL >= 5. (LL=SL[1])
fluids.get(FLUID_WITH_SL((1,2)) –> single fluid with SL=(1,2), crashing if 0 or multiple.
fluids.get(FLUID_WITH_SS(morethan=1, max=3)) –> the single fluid with 1 < SS <= 3, crashing if 0 or multiple
array.pc.isel(fluid=FLUID_WITH_LL(lessthan=2)) –> select the single fluid with LL < 2, crashing if 0 or multiple;
result will not have fluid dim anymore. (like isel(fluid=i0))
(Can access these selectors via EbysusFluid.FLUIDS_WITH_SL (or from instance, e.g. fluid.FLUIDS_WITH_SL)
or pc.ebysus.FLUIDS_WITH_SL, EbysusCalculator.FLUIDS_WITH_SL (or instance, e.g. cc.FLUIDS_WITH_SL)),
and similar for the other selectors.)

Classes

EbysusFluid([name, i, m, q, element, atomfile])

a single Fluid for Ebysus.

EbysusFluidList(*args_list[, istart])

a list of EbysusFluid objects.

EbysusMhdinSnap([s, i, t, params])

EbysusSnap but corresponding to mhd.in, only.

EbysusMhdinSnapList(*args_list[, istart])

list of EbysusMhdinSnap objects.

EbysusSnap([s, i, t, params])

info about a single Bifrost snapshot, including label (str) and index (int).

EbysusSnapList(*args_list[, istart])

list of EbysusSnap objects