From e7f5737e0c3e98e0a8926d62fe467ef843de8e2e Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Mon, 29 May 2017 14:01:29 +0200 Subject: [PATCH] =?UTF-8?q?regime=5Funiforme.ts=20:=20modif=20des=20appels?= =?UTF-8?q?=20AddVarEq=20dans=20le=20constructeur=20pour=20=C3=AAtre=20con?= =?UTF-8?q?forme=20aux=20variables=20trait=C3=A9es=20par=20Equation()=20su?= =?UTF-8?q?ppression=20du=20membre=20oP=20(type=20cParam),=20utilisation?= =?UTF-8?q?=20=C3=A0=20la=20place=20des=20param=C3=A8tres=20attach=C3=A9s?= =?UTF-8?q?=20=C3=A0=20la=20classe=20acSection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/regime_uniforme.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/regime_uniforme.ts b/src/regime_uniforme.ts index d29015f0..971314ee 100644 --- a/src/regime_uniforme.ts +++ b/src/regime_uniforme.ts @@ -5,22 +5,15 @@ import { acSection, cParamsCanal } from "./section/section_type"; export class RegimeUniforme extends Nub { private Sn: acSection; ///< Objet section - // private oP: cParamsCanal; ///< Objet paramètres de section - // constructor(s: acSection, pCanal: cParamsCanal) { constructor(s: acSection) { let paramsEq: { [key: string]: number } = {}; - // params = {}; super(paramsEq); this.Sn = s; - //this.oP = pCanal; this.AddVarEq("Q"); - this.AddVarEq("D"); - this.AddVarEq("J"); - this.AddVarEq("Lg"); - this.AddVarEq("nu"); + this.AddVarEq("Y"); } /** -- GitLab