/// <summary>Get <see cref="Molarity" /> from <see cref="AmountOfSubstance" /> divided by <see cref="Volume" />.</summary>
 public static Molarity operator /(AmountOfSubstance amountOfComponent, Volume mixtureVolume)
 {
     return(Molarity.FromMolesPerCubicMeter(amountOfComponent.Moles / mixtureVolume.CubicMeters));
 }
Пример #2
0
 /// <summary>
 ///     Gets <see cref="Molarity" /> from this <see cref="Density" />.
 /// </summary>
 /// <param name="molecularWeight"></param>
 public Molarity ToMolarity(Mass molecularWeight)
 {
     return(Molarity.FromMolesPerCubicMeter(KilogramsPerCubicMeter / molecularWeight.Kilograms));
 }