From 942e9e51fd7a9484a0745225233a3813eba344fd Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Wed, 13 Sep 2017 11:34:14 +0200 Subject: [PATCH] classe ComputeNodeParameters : ajout du cas Lechapt-Calmon --- src/parameters.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/parameters.ts b/src/parameters.ts index 298d8d21..895526e9 100644 --- a/src/parameters.ts +++ b/src/parameters.ts @@ -1,5 +1,6 @@ import { IParamsEquation } from "./param"; import { ConduiteDistribParams, ConduiteDistrib } from "./cond_distri"; +import { LechaptCalmonParams, LechaptCalmon } from "./lechaptcalmon"; export class ComputeNodeParameters { private static _instance: ComputeNodeParameters; @@ -17,7 +18,12 @@ export class ComputeNodeParameters { let cn = new ConduiteDistribParams(undefined, undefined, undefined, undefined, undefined); let n = new ConduiteDistrib(cn); // pour initialiser la calculabilité des paramètres return cn; - } + } else + if (name == "lechapt_calmon") { + let cn = new LechaptCalmonParams(undefined, undefined, undefined, undefined, undefined, undefined, undefined); + let n = new LechaptCalmon(cn); // pour initialiser la calculabilité des paramètres + return cn; + } return undefined; } -- GitLab