// Copyright (C) Stichting Deltares 2017. All rights reserved. // // This file is part of Ringtoets. // // Ringtoets 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. namespace Ringtoets.MacroStabilityInwards.KernelWrapper.Calculators.Input { /// /// Phreatic line offset values that are used to perform a calculation. /// public class PhreaticLineOffsets { /// /// Creates a new instance of . /// /// is set to true; , /// , /// and are set to . public PhreaticLineOffsets() { UseDefaults = true; BelowDikeTopAtRiver = double.NaN; BelowDikeTopAtPolder = double.NaN; BelowDikeToeAtPolder = double.NaN; BelowShoulderBaseInside = double.NaN; } /// /// Creates a new instance of . /// /// The offset of the phreatic line below dike top at river. /// The offset of the phreatic line below dike top at polder. /// The offset of the phreatic line below dike toe at polder. /// The offset of the phreatic line below shoulder base inside. /// is set to false. public PhreaticLineOffsets(double belowDikeTopAtRiver, double belowDikeTopAtPolder, double belowDikeToeAtPolder, double belowShoulderBaseInside) { UseDefaults = false; BelowDikeTopAtRiver = belowDikeTopAtRiver; BelowDikeTopAtPolder = belowDikeTopAtPolder; BelowDikeToeAtPolder = belowDikeToeAtPolder; BelowShoulderBaseInside = belowShoulderBaseInside; } /// /// Gets whether the default offsets should be used. /// public bool UseDefaults { get; } /// /// Gets the offset of the phreatic line below dike top at river. /// [m] /// public double BelowDikeTopAtRiver { get; } /// /// Gets the offset of the phreatic line below dike top at polder. /// [m] /// public double BelowDikeTopAtPolder { get; } /// /// Gets the offset of the phreatic line below dike toe at polder. /// [m] /// public double BelowDikeToeAtPolder { get; } /// /// Gets the offset of the phreatic line below shoulder base inside. /// [m] /// public double BelowShoulderBaseInside { get; } } }