UNPKG

jalhyd

Version:

JaLHyd, a Javascript Library for Hydraulics

49 lines 1.85 kB
import { Nub } from "../internal_modules"; import { Result } from "../internal_modules"; import { JetParams } from "../internal_modules"; export declare class Jet extends Nub { /** * { symbol => string } map that defines units for extra results */ private static _resultsUnits; /** steps for generating the trajectory */ protected precision: number; constructor(prms: JetParams, dbg?: boolean); /** paramètres castés au bon type */ get prms(): JetParams; Calc(sVarCalc: string, rInit?: number): Result; Equation(sVarCalc: string): Result; /** clone casting */ clone(): Jet; /** * Returns an array of trajectories built from the current Nub state. * A trajectory is a list of coordinate pairs representing the fall height (y), * for each abscissa (x) between 0 and the impact abscissa (D). * A coordinate pair is a list of 2 numbers [ x, y ]. * If no parameter is varying, result will contain only 1 element. * Trajectory calculation uses a copy of the current Nub to calculate ZW from D. */ generateTrajectories(): number[][][]; protected CalcH(): number; /** * Build a trajectory data series for a calculation iteration */ protected buildSeriesForIteration(nub: Jet, i: number): number[][]; /** * Returns a list of abscissae from 0 to D (number of steps is this.precision) * @param variatingIndex if D is variating, index of the D value to fetch */ protected getDAbscissae(variatingIndex?: number): number[]; protected setParametersCalculability(): void; static resultsUnits(): { H: string; Y: string; t: string; Vx: string; Vz: string; Vt: string; }; protected exposeResults(): void; private get alpha(); } //# sourceMappingURL=jet.d.ts.map