UNPKG

jalhyd

Version:

JaLHyd, a Javascript Library for Hydraulics

38 lines 1.26 kB
import { Nub, ParamDefinition } from "../internal_modules"; import { Result } from "../internal_modules"; import { PressureLossParams } from "../internal_modules"; import { PressureLossLaw } from "../internal_modules"; export declare class PressureLoss extends Nub { /** * { symbol => string } map that defines units for extra results */ private static _resultsUnits; constructor(prms: PressureLossParams, law: PressureLossLaw, dbg?: boolean); /** * paramètres castés au bon type */ get prms(): PressureLossParams; get child(): PressureLossLaw; getParameter(name: string): ParamDefinition; /** * Set/replaces the current section */ setLaw(pll: PressureLossLaw): void; /** * paramétrage de la calculabilité des paramètres */ protected setParametersCalculability(): void; Calc(sVarCalc: any, rInit?: number): Result; Equation(sVarCalc: string): Result; get result(): Result; set result(r: Result); static resultsUnits(): { Q: string; D: string; J: string; Lg: string; }; getPropValue(key: string): any; setPropValue(key: string, val: any, sender?: any): boolean; } //# sourceMappingURL=pressureloss.d.ts.map