Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculator.cs =================================================================== diff -u -ra818b067c89f222fa27f864ef9b0c26ba95f40d8 -r83f824a69b1a78fc4822ac19375e60e6c9be7d87 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculator.cs (.../MacroStabilityInwardsCalculator.cs) (revision a818b067c89f222fa27f864ef9b0c26ba95f40d8) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculator.cs (.../MacroStabilityInwardsCalculator.cs) (revision 83f824a69b1a78fc4822ac19375e60e6c9be7d87) @@ -101,13 +101,13 @@ private IUpliftVanKernel CreateUpliftVanKernel() { - IUpliftVanKernel calculator = factory.CreateUpliftVanKernel(); + IUpliftVanKernel upliftVanKernel = factory.CreateUpliftVanKernel(); - calculator.MoveGrid = input.MoveGrid; - calculator.MaximumSliceWidth = input.MaximumSliceWidth; + upliftVanKernel.MoveGrid = input.MoveGrid; + upliftVanKernel.MaximumSliceWidth = input.MaximumSliceWidth; Soil[] soils = SoilCreator.Create(input.SoilProfile); - calculator.SoilModel = SoilModelCreator.Create(soils); + upliftVanKernel.SoilModel = SoilModelCreator.Create(soils); Dictionary layersWithSoils = input.SoilProfile.Layers @@ -118,17 +118,17 @@ }) .ToDictionary(x => x.layer, x => x.soil); - calculator.SoilProfile = SoilProfileCreator.Create(input.SoilProfile, layersWithSoils); - calculator.Location = StabilityLocationCreator.Create(input); - calculator.SurfaceLine = SurfaceLineCreator.Create(input.SurfaceLine); - calculator.SlipPlaneUpliftVan = SlipPlaneUpliftVanCreator.Create(input); - calculator.GridAutomaticDetermined = input.GridAutomaticDetermined; - calculator.CreateZones = input.CreateZones; - calculator.AutomaticForbiddenZones = input.AutomaticForbiddenZones; - calculator.SlipPlaneMinimumDepth = input.SlipPlaneMinimumDepth; - calculator.SlipPlaneMinimumLength = input.SlipPlaneMinimumLength; + upliftVanKernel.SoilProfile = SoilProfileCreator.Create(input.SoilProfile, layersWithSoils); + upliftVanKernel.Location = StabilityLocationCreator.Create(input); + upliftVanKernel.SurfaceLine = SurfaceLineCreator.Create(input.SurfaceLine); + upliftVanKernel.SlipPlaneUpliftVan = SlipPlaneUpliftVanCreator.Create(input); + upliftVanKernel.GridAutomaticDetermined = input.GridAutomaticDetermined; + upliftVanKernel.CreateZones = input.CreateZones; + upliftVanKernel.AutomaticForbiddenZones = input.AutomaticForbiddenZones; + upliftVanKernel.SlipPlaneMinimumDepth = input.SlipPlaneMinimumDepth; + upliftVanKernel.SlipPlaneMinimumLength = input.SlipPlaneMinimumLength; - return calculator; + return upliftVanKernel; } } } \ No newline at end of file