Commit 942e9e51 authored by Grand Francois's avatar Grand Francois
Browse files

classe ComputeNodeParameters : ajout du cas Lechapt-Calmon

Showing with 7 additions and 1 deletion
+7 -1
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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment