예제 #1
0
        public MolecularConcentration DiffuseBySieving(decimal flowRateOutInMls, decimal totalVolumeInMls)
        {
            var output = new MolecularConcentration()
            {
                Molecule = this.Molecule
            };

            output.Extend((flowRateOutInMls / totalVolumeInMls) * this.SievingCoefficient);

            return(output);
        }
예제 #2
0
 public void AddConstituent(MolecularConcentration input)
 {
     // Should Update Total Density, average charge?
     this.Constituents.Add(input.Molecule.Id, input);
 }