Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/HydraRingCalculatorFactory.cs =================================================================== diff -u -r19f983eab8eac43d27e39f6eb9de019bad677652 -r85044dce4efb54671dc0606a96248e1f11867db5 --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/HydraRingCalculatorFactory.cs (.../HydraRingCalculatorFactory.cs) (revision 19f983eab8eac43d27e39f6eb9de019bad677652) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/HydraRingCalculatorFactory.cs (.../HydraRingCalculatorFactory.cs) (revision 85044dce4efb54671dc0606a96248e1f11867db5) @@ -46,45 +46,45 @@ } } - public IDesignWaterLevelCalculator CreateDesignWaterLevelCalculator(string hlcdDirectory) + public IDesignWaterLevelCalculator CreateDesignWaterLevelCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new DesignWaterLevelCalculator(hlcdDirectory); + return new DesignWaterLevelCalculator(hlcdDirectory, preprocessorDirectory); } - public IOvertoppingCalculator CreateOvertoppingCalculator(string hlcdDirectory) + public IOvertoppingCalculator CreateOvertoppingCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new OvertoppingCalculator(hlcdDirectory); + return new OvertoppingCalculator(hlcdDirectory, preprocessorDirectory); } - public IHydraulicLoadsCalculator CreateDikeHeightCalculator(string hlcdDirectory) + public IHydraulicLoadsCalculator CreateDikeHeightCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new HydraulicLoadsCalculator(hlcdDirectory); + return new HydraulicLoadsCalculator(hlcdDirectory, preprocessorDirectory); } - public IHydraulicLoadsCalculator CreateOvertoppingRateCalculator(string hlcdDirectory) + public IHydraulicLoadsCalculator CreateOvertoppingRateCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new HydraulicLoadsCalculator(hlcdDirectory); + return new HydraulicLoadsCalculator(hlcdDirectory, preprocessorDirectory); } - public IWaveConditionsCosineCalculator CreateWaveConditionsCosineCalculator(string hlcdDirectory) + public IWaveConditionsCosineCalculator CreateWaveConditionsCosineCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new WaveConditionsCosineCalculator(hlcdDirectory); + return new WaveConditionsCosineCalculator(hlcdDirectory, preprocessorDirectory); } - public IWaveHeightCalculator CreateWaveHeightCalculator(string hlcdDirectory) + public IWaveHeightCalculator CreateWaveHeightCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new WaveHeightCalculator(hlcdDirectory); + return new WaveHeightCalculator(hlcdDirectory, preprocessorDirectory); } - public IDunesBoundaryConditionsCalculator CreateDunesBoundaryConditionsCalculator(string hlcdDirectory) + public IDunesBoundaryConditionsCalculator CreateDunesBoundaryConditionsCalculator(string hlcdDirectory, string preprocessorDirectory) { - return new DunesBoundaryConditionsCalculator(hlcdDirectory); + return new DunesBoundaryConditionsCalculator(hlcdDirectory, preprocessorDirectory); } - public IStructuresCalculator CreateStructuresCalculator(string hlcdDirectory) + public IStructuresCalculator CreateStructuresCalculator(string hlcdDirectory, string preprocessorDirectory) where TCalculationInput : ExceedanceProbabilityCalculationInput { - return new StructuresCalculator(hlcdDirectory); + return new StructuresCalculator(hlcdDirectory, preprocessorDirectory); } } } \ No newline at end of file Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/IHydraRingCalculatorFactory.cs =================================================================== diff -u -r19f983eab8eac43d27e39f6eb9de019bad677652 -r85044dce4efb54671dc0606a96248e1f11867db5 --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/IHydraRingCalculatorFactory.cs (.../IHydraRingCalculatorFactory.cs) (revision 19f983eab8eac43d27e39f6eb9de019bad677652) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/Factory/IHydraRingCalculatorFactory.cs (.../IHydraRingCalculatorFactory.cs) (revision 85044dce4efb54671dc0606a96248e1f11867db5) @@ -34,66 +34,98 @@ /// Creates a calculator for calculating a design water level. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IDesignWaterLevelCalculator CreateDesignWaterLevelCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IDesignWaterLevelCalculator CreateDesignWaterLevelCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for performing an overtopping calculation. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IOvertoppingCalculator CreateOvertoppingCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IOvertoppingCalculator CreateOvertoppingCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for calculating a dike height. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IHydraulicLoadsCalculator CreateDikeHeightCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IHydraulicLoadsCalculator CreateDikeHeightCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for calculating an overtopping rate. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IHydraulicLoadsCalculator CreateOvertoppingRateCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IHydraulicLoadsCalculator CreateOvertoppingRateCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for calculating wave conditions. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IWaveConditionsCosineCalculator CreateWaveConditionsCosineCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IWaveConditionsCosineCalculator CreateWaveConditionsCosineCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for calculating a wave height. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IWaveHeightCalculator CreateWaveHeightCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IWaveHeightCalculator CreateWaveHeightCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for performing a calculation for dunes boundary conditions. /// /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IDunesBoundaryConditionsCalculator CreateDunesBoundaryConditionsCalculator(string hlcdDirectory); + /// Thrown when + /// or is null. + IDunesBoundaryConditionsCalculator CreateDunesBoundaryConditionsCalculator(string hlcdDirectory, string preprocessorDirectory); /// /// Creates a calculator for performing a calculation for structures. /// /// The type of the input. /// The directory where the hydraulic database can be found. + /// The preprocessor directory. + /// Preprocessing is disabled when + /// equals . /// A new . - /// Thrown when is null. - IStructuresCalculator CreateStructuresCalculator(string hlcdDirectory) + /// Thrown when + /// or is null. + IStructuresCalculator CreateStructuresCalculator(string hlcdDirectory, string preprocessorDirectory) where TCalculationInput : ExceedanceProbabilityCalculationInput; } } \ No newline at end of file