diff --git a/src/parameters.ts b/src/parameters.ts index 298d8d212fbf90b44b29198862dd52cfda825456..895526e9ceae337e27c02e3dd4d1ed44cc4b6d2e 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; }