Index: Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs
===================================================================
diff -u -ra4e3b2745a48598260107bb5bfca7485205cdcc2 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs (.../GeneralGrassCoverErosionInwardsInput.cs) (revision a4e3b2745a48598260107bb5bfca7485205cdcc2)
+++ Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs (.../GeneralGrassCoverErosionInwardsInput.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -102,6 +102,12 @@
}
}
+ ///
+ /// Gets or sets whether the length effect should be applied
+ /// in the section.
+ ///
+ public bool ApplyLengthEffectInSection { get; set; }
+
#endregion
#region Factors
Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Data.Test/GeneralGrassCoverErosionInwardsInputTest.cs
===================================================================
diff -u -ra4e3b2745a48598260107bb5bfca7485205cdcc2 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Data.Test/GeneralGrassCoverErosionInwardsInputTest.cs (.../GeneralGrassCoverErosionInwardsInputTest.cs) (revision a4e3b2745a48598260107bb5bfca7485205cdcc2)
+++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Data.Test/GeneralGrassCoverErosionInwardsInputTest.cs (.../GeneralGrassCoverErosionInwardsInputTest.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -73,6 +73,7 @@
// Assert
Assert.AreEqual(2, inputParameters.N.NumberOfDecimalPlaces);
Assert.AreEqual(2.0, inputParameters.N, inputParameters.N.GetAccuracy());
+ Assert.IsFalse(inputParameters.ApplyLengthEffectInSection);
DistributionAssert.AreEqual(fbFactor, inputParameters.FbFactor);
DistributionAssert.AreEqual(fnFactor, inputParameters.FnFactor);
Index: Riskeer/GrassCoverErosionOutwards/src/Riskeer.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs
===================================================================
diff -u -r229883cef2d430554ef437720205d7c7d78418af -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/GrassCoverErosionOutwards/src/Riskeer.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision 229883cef2d430554ef437720205d7c7d78418af)
+++ Riskeer/GrassCoverErosionOutwards/src/Riskeer.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -90,6 +90,12 @@
}
}
+ ///
+ /// Gets or sets whether the length effect should be applied
+ /// in the section.
+ ///
+ public bool ApplyLengthEffectInSection { get; set; }
+
#endregion
}
}
\ No newline at end of file
Index: Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Data.Test/GeneralGrassCoverErosionOutwardsInputTest.cs
===================================================================
diff -u -r229883cef2d430554ef437720205d7c7d78418af -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Data.Test/GeneralGrassCoverErosionOutwardsInputTest.cs (.../GeneralGrassCoverErosionOutwardsInputTest.cs) (revision 229883cef2d430554ef437720205d7c7d78418af)
+++ Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Data.Test/GeneralGrassCoverErosionOutwardsInputTest.cs (.../GeneralGrassCoverErosionOutwardsInputTest.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -55,6 +55,8 @@
Assert.AreEqual(1.0, generalWaveImpactWithWaveDirectionWaveConditionsInput.A, generalWaveImpactWithWaveDirectionWaveConditionsInput.A.GetAccuracy());
Assert.AreEqual(0.67, generalWaveImpactWithWaveDirectionWaveConditionsInput.B, generalWaveImpactWithWaveDirectionWaveConditionsInput.B.GetAccuracy());
Assert.AreEqual(0.67, generalWaveImpactWithWaveDirectionWaveConditionsInput.C, generalWaveImpactWithWaveDirectionWaveConditionsInput.C.GetAccuracy());
+
+ Assert.IsFalse(inputParameters.ApplyLengthEffectInSection);
}
[Test]
Index: Riskeer/Integration/src/Riskeer.Integration.Data/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInput.cs
===================================================================
diff -u -rc36b47c2e1e8cf948767cca33f80ad735f370ad0 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/Integration/src/Riskeer.Integration.Data/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInput.cs (.../MacroStabilityOutwardsProbabilityAssessmentInput.cs) (revision c36b47c2e1e8cf948767cca33f80ad735f370ad0)
+++ Riskeer/Integration/src/Riskeer.Integration.Data/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInput.cs (.../MacroStabilityOutwardsProbabilityAssessmentInput.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -32,5 +32,11 @@
/// Creates a new instance of .
///
public MacroStabilityOutwardsProbabilityAssessmentInput() : base(0.033, 50.0) {}
+
+ ///
+ /// Gets or sets whether the length effect should be applied
+ /// in the section.
+ ///
+ public bool ApplyLengthEffectInSection { get; set; }
}
}
\ No newline at end of file
Index: Riskeer/Integration/test/Riskeer.Integration.Data.Test/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInputTest.cs
===================================================================
diff -u -rc36b47c2e1e8cf948767cca33f80ad735f370ad0 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/Integration/test/Riskeer.Integration.Data.Test/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInputTest.cs (.../MacroStabilityOutwardsProbabilityAssessmentInputTest.cs) (revision c36b47c2e1e8cf948767cca33f80ad735f370ad0)
+++ Riskeer/Integration/test/Riskeer.Integration.Data.Test/StandAlone/Input/MacroStabilityOutwardsProbabilityAssessmentInputTest.cs (.../MacroStabilityOutwardsProbabilityAssessmentInputTest.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -38,6 +38,7 @@
Assert.IsInstanceOf(probabilityAssessmentInput);
Assert.AreEqual(0.033, probabilityAssessmentInput.A);
Assert.AreEqual(50, probabilityAssessmentInput.B);
+ Assert.IsFalse(probabilityAssessmentInput.ApplyLengthEffectInSection);
}
}
}
\ No newline at end of file
Index: Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Data/GeneralStabilityStoneCoverWaveConditionsInput.cs
===================================================================
diff -u -r2ef21b0f4d85a5c9689720d539254a1d5c907be7 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Data/GeneralStabilityStoneCoverWaveConditionsInput.cs (.../GeneralStabilityStoneCoverWaveConditionsInput.cs) (revision 2ef21b0f4d85a5c9689720d539254a1d5c907be7)
+++ Riskeer/StabilityStoneCover/src/Riskeer.StabilityStoneCover.Data/GeneralStabilityStoneCoverWaveConditionsInput.cs (.../GeneralStabilityStoneCoverWaveConditionsInput.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -81,5 +81,11 @@
n = newValue;
}
}
+
+ ///
+ /// Gets or sets whether the length effect should be applied
+ /// in the section.
+ ///
+ public bool ApplyLengthEffectInSection { get; set; }
}
}
\ No newline at end of file
Index: Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Data.Test/GeneralStabilityStoneCoverWaveConditionsInputTest.cs
===================================================================
diff -u -r2ef21b0f4d85a5c9689720d539254a1d5c907be7 -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Data.Test/GeneralStabilityStoneCoverWaveConditionsInputTest.cs (.../GeneralStabilityStoneCoverWaveConditionsInputTest.cs) (revision 2ef21b0f4d85a5c9689720d539254a1d5c907be7)
+++ Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Data.Test/GeneralStabilityStoneCoverWaveConditionsInputTest.cs (.../GeneralStabilityStoneCoverWaveConditionsInputTest.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -57,6 +57,8 @@
Assert.AreEqual(2, generalInput.N.NumberOfDecimalPlaces);
Assert.AreEqual(4.0, generalInput.N, generalInput.N.GetAccuracy());
+
+ Assert.IsFalse(generalInput.ApplyLengthEffectInSection);
}
[Test]
Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs
===================================================================
diff -u -r4f4daebe59ab925c98cef039101ec70544530bbe -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 4f4daebe59ab925c98cef039101ec70544530bbe)
+++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -64,6 +64,12 @@
}
///
+ /// Gets or sets whether the length effect should be applied
+ /// in the section.
+ ///
+ public bool ApplyLengthEffectInSection { get; set; }
+
+ ///
/// Gets the 'N' parameter used to factor in the 'length effect'.
///
/// The length of the assessment section.
Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs
===================================================================
diff -u -r4f4daebe59ab925c98cef039101ec70544530bbe -r1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559
--- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision 4f4daebe59ab925c98cef039101ec70544530bbe)
+++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision 1cbd6c36e3d7a1e6b22738c7399f3941ca7ff559)
@@ -39,6 +39,7 @@
// Assert
Assert.AreEqual(2, generalInput.DeltaL.NumberOfDecimalPlaces);
Assert.AreEqual(1000.0, generalInput.DeltaL, generalInput.DeltaL.GetAccuracy());
+ Assert.IsFalse(generalInput.ApplyLengthEffectInSection);
}
[Test]