2017-08-04 15:47:23 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2017- Statoil ASA
|
2019-09-06 10:40:57 +02:00
|
|
|
//
|
2017-08-04 15:47:23 +02:00
|
|
|
// ResInsight 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.
|
2019-09-06 10:40:57 +02:00
|
|
|
//
|
2017-08-04 15:47:23 +02:00
|
|
|
// ResInsight 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.
|
2019-09-06 10:40:57 +02:00
|
|
|
//
|
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2017-08-04 15:47:23 +02:00
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#include "RicFractureNameGenerator.h"
|
|
|
|
|
|
|
|
|
|
#include "RimFracture.h"
|
2020-11-04 13:46:17 +01:00
|
|
|
#include "RimStimPlanModel.h"
|
|
|
|
|
#include "RimStimPlanModelTemplate.h"
|
2017-08-04 15:47:23 +02:00
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-09-06 10:40:57 +02:00
|
|
|
///
|
2017-08-04 15:47:23 +02:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
|
QString RicFractureNameGenerator::nameForNewFracture()
|
|
|
|
|
{
|
2020-05-14 06:39:55 +02:00
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimFracture>( "Fracture_%1" );
|
|
|
|
|
}
|
2017-08-04 15:47:23 +02:00
|
|
|
|
2020-05-14 06:39:55 +02:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
|
///
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2020-11-04 13:46:17 +01:00
|
|
|
QString RicFractureNameGenerator::nameForNewStimPlanModel()
|
2020-05-14 06:39:55 +02:00
|
|
|
{
|
2020-11-04 13:46:17 +01:00
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimStimPlanModel>( "StimPlan Model_%1" );
|
2017-08-04 15:47:23 +02:00
|
|
|
}
|
2020-09-24 11:57:33 +02:00
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
|
///
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2020-11-04 13:46:17 +01:00
|
|
|
QString RicFractureNameGenerator::nameForNewStimPlanModelTemplate()
|
2020-09-24 11:57:33 +02:00
|
|
|
{
|
2020-11-04 13:46:17 +01:00
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimStimPlanModelTemplate>( "StimPlan Model Template_%1" );
|
2020-09-24 11:57:33 +02:00
|
|
|
}
|