Commit 91bd4540 authored by Mathias Chouet's avatar Mathias Chouet 🍝
Browse files

Fix nghyd#326 - CourbeRemous: remove LargeurBerge log

parent a46abec3
......@@ -59,11 +59,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -125,11 +122,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -87,11 +87,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -173,11 +170,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -291,11 +285,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -364,11 +355,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -521,11 +509,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -63,11 +63,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -156,11 +153,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -247,11 +241,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -332,11 +323,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -412,11 +400,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -90,11 +90,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -179,11 +176,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -271,11 +265,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -387,11 +378,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -473,11 +461,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -634,11 +619,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -80,11 +80,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -173,11 +170,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -280,11 +274,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -471,11 +462,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -557,11 +545,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -637,11 +622,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -698,11 +680,8 @@ describe("Class Remous / section rectangulaire :", () => {
compareExtraResult("extra (Hs)", res, "Hs", extraHS, 0.001);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -90,11 +90,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -181,11 +178,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -272,11 +266,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -388,11 +379,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -457,11 +445,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......@@ -618,11 +603,8 @@ describe("Class Remous / section rectangulaire :", () => {
// compareArray("abscisses", res.getValue("trX"), x);
const expLog = new cLog();
let m = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
m.extraVar.B = 2.5;
expLog.add(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = 0.403;
expLog.add(m);
......
......@@ -133,13 +133,7 @@ export class CourbeRemous extends SectionNub {
return res;
}
let m: Message = new Message(MessageCode.INFO_REMOUS_LARGEUR_BERGE);
// m.extraVar["B"] = this.Sn.CalcSection("B", this.Sn.prms.YB.v);
m.extraVar.B = rB.vCalc;
// this._log.add(m);
res.addMessage(m);
m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
let m = new Message(MessageCode.INFO_REMOUS_H_CRITIQUE);
m.extraVar.Yc = Yc;
// this._log.add(m);
res.addMessage(m);
......
Markdown is supported
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