// Copyright (C) Stichting Deltares 2018. All rights reserved.
//
// This file is part of the Dam Engine.
//
// The Dam Engine is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero 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 Deltares.DamEngine.Data.General;
using Deltares.DamEngine.Data.Standard.Calculation;
namespace Deltares.DamEngine.Calculators.KernelWrappers.DamMacroStabilityCommon
{
///
/// Class for a single set of DamMacroStabilityOutput parameters
///
public class DamMacroStabilityOutputItem
{
///
/// Gets or sets the calculation result.
///
///
/// The calculation result.
///
public CalculationResult CalculationResult { get; set; }
///
/// Structure holding the resuls per zone
///
public struct ResultsSingleZone
{
public double SafetyFactor;
public double CircleSurfacePointLeftXCoordinate;
public double CircleSurfacePointRightXCoordinate;
public void Init()
{
SafetyFactor = 0.0;
CircleSurfacePointLeftXCoordinate = 0.0;
CircleSurfacePointRightXCoordinate = 0.0;
}
}
///
/// Gets or sets the zone1 results.
///
///
/// The zone1.
///
public ResultsSingleZone Zone1Results { get; set; }
///
/// Gets or sets the zone2 results.
///
///
/// The zone2.
///
public ResultsSingleZone? Zone2Results { get; set; }
///
/// Gets or sets the type of the stability model.
///
///
/// The type of the stability model.
///
public MStabModelType StabilityModelType { get; set; }
}
}