UNPKG

jalhyd

Version:

JaLHyd, a Javascript Library for Hydraulics

39 lines 1.33 kB
import { LCMaterial } from "../internal_modules"; import { Observer } from "../internal_modules"; import { Result } from "../internal_modules"; import { PL_LechaptCalmonParams } from "../internal_modules"; import { PressureLossLaw } from "../internal_modules"; /** * Calcul des pertes de charge dans un tube à partir des tables de Lechapt et Calmon */ export declare class PL_LechaptCalmon extends PressureLossLaw implements Observer { private static _materials; constructor(prms: PL_LechaptCalmonParams, dbg?: boolean); static get materials(): { L: number; M: number; N: number; title: string; }[]; get material(): LCMaterial; set material(m: LCMaterial); Equation(sVarCalc: string): Result; finalChecks(r: Result): void; /** * paramètres castés au bon type */ get prms(): PL_LechaptCalmonParams; update(sender: any, data: any): void; /** * paramétrage de la calculabilité des paramètres */ protected setParametersCalculability(): void; protected exposeResults(): void; /** * Modifies values of L, M, N depending on the given material, * according to this._materials presets */ private applyMaterialPreset; hasProperty(key: string): boolean; } //# sourceMappingURL=pl_lechaptcalmon.d.ts.map