Exemple #1
0
 public void overrideFluidType(FluidType newType)
 {
     currentFluidTypeMap.Clear();
     currentFluidTypeMap.Add(newType, 1.0);
 }
Exemple #2
0
 public static Dictionary<FluidType, double> createSingleVolumeMap(FluidType fluidType)
 {
     Dictionary<FluidType, double> ret = new Dictionary<FluidType, double>();
     ret.Add(fluidType, 1.0);
     return ret;
 }