public Calc(ProjectBase p, WaterList waterList) { this.p = p; this.w = waterList; }
// IS (Ionic streight) private double _IS(WaterList wL) { return(Math.Round(0.5 * (wL.Cations().Sum(x => x.ValueMEq * Math.Pow(x.GetIonCharge(), 3)) + wL.Anions().Sum(x => x.ValueMEq * Math.Pow(x.GetIonCharge(), 3))) * mol, 3)); }