AutoMovie API
    Preparing search index...

    Interface IAutoMovieFluidBudget

    Counts and numerical cost estimates derived by fluidDomainBudget from one fluid domain.

    No step is integrated. validateFluidDomain checks record budgets of 65,536 cells, 100,000 maximum steps, 32 emitters and 4,096 particles per emitter, and rejects a computed Courant value above one; a derived NaN is not rejected by that comparison. measureRenderSimulation reads cells and sprayParticleCap for bound water bodies.

    interface IAutoMovieFluidBudget {
        cells: number;
        courant: number;
        domain: string;
        faces: number;
        maxSteps: number;
        sprayParticleCap: number;
        stateBytes: number;
        worstCaseCellUpdates: number;
    }
    Index
    cells: number

    Lattice cells, columns * rows.

    courant: number

    Courant number dt * sqrt(g * referenceDepth) * sqrt(1/dx² + 1/dz²), computed at design depth rather than solved depth. The analytic bound is at most one; direct intermediate products may overflow or produce NaN, and the budget reports that result without validation.

    domain: string

    Id of the measured domain.

    faces: number

    Velocity faces, (columns + 1) * rows + columns * (rows + 1).

    maxSteps: number

    Highest absolute step a sample may integrate to, copied from the solver.

    sprayParticleCap: number

    Sum of every emitter's maxParticles, the most spray one sample holds.

    stateBytes: number

    Modelled depth/face-velocity payload bytes at eight bytes per scalar, 8 * (cells + faces), excluding per-step scratch arrays and JavaScript container overhead.

    worstCaseCellUpdates: number

    Modelled cell updates for a maxSteps replay, cells * maxSteps. Every seek integrates from zero with no retained state cache; source/drain and face work is not a separately timed measurement.