Index: Riskeer/Revetment/src/Riskeer.Revetment.Data/GeneralWaveConditionsInput.cs
===================================================================
diff -u -rc56dddb7f63e9297d0af54055bfda90a77d1c3dd -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/Revetment/src/Riskeer.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision c56dddb7f63e9297d0af54055bfda90a77d1c3dd)
+++ Riskeer/Revetment/src/Riskeer.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -54,6 +54,6 @@
///
/// Gets the 'c' parameter used in wave conditions calculations.
///
- public RoundedDouble C { get; set; }
+ public RoundedDouble C { get; }
}
}
\ No newline at end of file
Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs
===================================================================
diff -u
--- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs (revision 0)
+++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -0,0 +1,59 @@
+// Copyright (C) Stichting Deltares and State of the Netherlands 2026. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Base.Data;
+
+namespace Riskeer.WaveImpactAsphaltCover.Data
+{
+ ///
+ /// Class that holds all the static wave conditions input parameters.
+ ///
+ public class GeneralWaveImpactAsphaltCoverWaveConditionsInput
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The 'a' parameter used in wave conditions calculations.
+ /// The 'b' parameter used in wave conditions calculations.
+ /// The 'c' parameter used in wave conditions calculations.
+ public GeneralWaveImpactAsphaltCoverWaveConditionsInput(double a, double b, double c)
+ {
+ A = new RoundedDouble(2, a);
+ B = new RoundedDouble(2, b);
+ C = new RoundedDouble(2, c);
+ }
+
+ ///
+ /// Gets the 'a' parameter used in wave conditions calculations.
+ ///
+ public RoundedDouble A { get; }
+
+ ///
+ /// Gets the 'b' parameter used in wave conditions calculations.
+ ///
+ public RoundedDouble B { get; }
+
+ ///
+ /// Gets the 'c' parameter used in wave conditions calculations.
+ ///
+ public RoundedDouble C { get; set; }
+ }
+}
\ No newline at end of file
Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverFailureMechanism.cs
===================================================================
diff -u -r9339a780307cdb21ebe38cbd3aa8811e2c98d980 -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverFailureMechanism.cs (.../WaveImpactAsphaltCoverFailureMechanism.cs) (revision 9339a780307cdb21ebe38cbd3aa8811e2c98d980)
+++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/WaveImpactAsphaltCoverFailureMechanism.cs (.../WaveImpactAsphaltCoverFailureMechanism.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -6,7 +6,7 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -25,7 +25,6 @@
using Riskeer.Common.Data.Calculation;
using Riskeer.Common.Data.DikeProfiles;
using Riskeer.Common.Data.FailureMechanism;
-using Riskeer.Revetment.Data;
using Riskeer.WaveImpactAsphaltCover.Data.Properties;
using RiskeerCommonDataResources = Riskeer.Common.Data.Properties.Resources;
@@ -49,7 +48,7 @@
Name = RiskeerCommonDataResources.HydraulicBoundaryConditions_DisplayName
};
ForeshoreProfiles = new ForeshoreProfileCollection();
- GeneralInput = new GeneralWaveConditionsInput(1.0, 0.0, 0.0);
+ GeneralInput = new GeneralWaveImpactAsphaltCoverWaveConditionsInput(1.0, 0.0, 0.0);
CalculationsInputComments = new Comment();
}
@@ -61,7 +60,7 @@
///
/// Gets the general wave conditions input parameters that apply to each calculation.
///
- public GeneralWaveConditionsInput GeneralInput { get; }
+ public GeneralWaveImpactAsphaltCoverWaveConditionsInput GeneralInput { get; }
public IEnumerable Calculations => CalculationsGroup.GetCalculations().OfType();
Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Service/WaveImpactAsphaltCoverWaveConditionsCalculationService.cs
===================================================================
diff -u -r9339a780307cdb21ebe38cbd3aa8811e2c98d980 -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Service/WaveImpactAsphaltCoverWaveConditionsCalculationService.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationService.cs) (revision 9339a780307cdb21ebe38cbd3aa8811e2c98d980)
+++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Service/WaveImpactAsphaltCoverWaveConditionsCalculationService.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationService.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -6,7 +6,7 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -40,9 +40,9 @@
public class WaveImpactAsphaltCoverWaveConditionsCalculationService : WaveConditionsCalculationServiceBase
{
///
- /// Performs a wave conditions calculation for the wave impact on asphalt failure mechanism based on the supplied
- /// and sets
- /// if the calculation was successful.
+ /// Performs a wave conditions calculation for the wave impact on asphalt failure mechanism based on the supplied
+ /// and sets
+ /// if the calculation was successful.
/// Error and status information is logged during the execution of the operation.
///
/// The that holds all the information required to perform the calculation.
@@ -58,13 +58,13 @@
/// - the required data cannot be read from the hydraulic boundary settings database.
///
///
- /// Thrown when the target probability or
+ /// Thrown when the target probability or
/// calculated probability falls outside the [0.0, 1.0] range and is not .
/// Thrown when an error occurs during parsing of the Hydra-Ring output.
/// Thrown when an error occurs during the calculation.
public void Calculate(WaveImpactAsphaltCoverWaveConditionsCalculation calculation,
IAssessmentSection assessmentSection,
- GeneralWaveConditionsInput generalWaveConditionsInput)
+ GeneralWaveImpactAsphaltCoverWaveConditionsInput generalWaveConditionsInput)
{
if (calculation == null)
{
Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/HydraulicLoadsState/WaveImpactAsphaltCoverFailureMechanismPropertiesTest.cs
===================================================================
diff -u -r9339a780307cdb21ebe38cbd3aa8811e2c98d980 -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/HydraulicLoadsState/WaveImpactAsphaltCoverFailureMechanismPropertiesTest.cs (.../WaveImpactAsphaltCoverFailureMechanismPropertiesTest.cs) (revision 9339a780307cdb21ebe38cbd3aa8811e2c98d980)
+++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Forms.Test/PropertyClasses/HydraulicLoadsState/WaveImpactAsphaltCoverFailureMechanismPropertiesTest.cs (.../WaveImpactAsphaltCoverFailureMechanismPropertiesTest.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -6,7 +6,7 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -53,7 +53,7 @@
Assert.AreEqual(failureMechanism.Name, properties.Name);
Assert.AreEqual(failureMechanism.Code, properties.Code);
- GeneralWaveConditionsInput generalWaveConditionsInput = failureMechanism.GeneralInput;
+ GeneralWaveImpactAsphaltCoverWaveConditionsInput generalWaveConditionsInput = failureMechanism.GeneralInput;
Assert.AreEqual(generalWaveConditionsInput.A, properties.A);
Assert.AreEqual(generalWaveConditionsInput.B, properties.B);
Assert.AreEqual(generalWaveConditionsInput.C, properties.C);
Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Integration.Test/WaveImpactAsphaltCoverWaveConditionsCalculationActivityIntegrationTest.cs
===================================================================
diff -u -r9339a780307cdb21ebe38cbd3aa8811e2c98d980 -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Integration.Test/WaveImpactAsphaltCoverWaveConditionsCalculationActivityIntegrationTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationActivityIntegrationTest.cs) (revision 9339a780307cdb21ebe38cbd3aa8811e2c98d980)
+++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Integration.Test/WaveImpactAsphaltCoverWaveConditionsCalculationActivityIntegrationTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationActivityIntegrationTest.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -6,7 +6,7 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -213,7 +213,7 @@
var waterLevelIndex = 0;
foreach (WaveConditionsCosineCalculationInput actualInput in waveConditionsInputs)
{
- GeneralWaveConditionsInput generalInput = waveImpactAsphaltCoverFailureMechanism.GeneralInput;
+ GeneralWaveImpactAsphaltCoverWaveConditionsInput generalInput = waveImpactAsphaltCoverFailureMechanism.GeneralInput;
WaveConditionsInput input = calculation.InputParameters;
var expectedInput = new WaveConditionsCosineCalculationInput(1,
Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Service.Test/WaveImpactAsphaltCoverWaveConditionsCalculationServiceTest.cs
===================================================================
diff -u -r9339a780307cdb21ebe38cbd3aa8811e2c98d980 -r0f2a9f1a0422b2c4dbb39efb41f101d39c849d86
--- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Service.Test/WaveImpactAsphaltCoverWaveConditionsCalculationServiceTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationServiceTest.cs) (revision 9339a780307cdb21ebe38cbd3aa8811e2c98d980)
+++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Service.Test/WaveImpactAsphaltCoverWaveConditionsCalculationServiceTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationServiceTest.cs) (revision 0f2a9f1a0422b2c4dbb39efb41f101d39c849d86)
@@ -6,7 +6,7 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -280,7 +280,7 @@
var waterLevelIndex = 0;
foreach (WaveConditionsCosineCalculationInput actualInput in waveConditionsInputs)
{
- GeneralWaveConditionsInput generalInput = waveImpactAsphaltCoverFailureMechanism.GeneralInput;
+ GeneralWaveImpactAsphaltCoverWaveConditionsInput generalInput = waveImpactAsphaltCoverFailureMechanism.GeneralInput;
WaveConditionsInput input = calculation.InputParameters;
var expectedInput = new WaveConditionsCosineCalculationInput(1,