2017-08-04 08:47:23 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2017- Statoil ASA
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2017-08-04 08:47:23 -05: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 03:40:57 -05:00
|
|
|
//
|
2017-08-04 08:47:23 -05: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 03:40:57 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2017-08-04 08:47:23 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "RicFractureNameGenerator.h"
|
|
|
|
|
|
|
|
#include "RimFracture.h"
|
2020-05-13 23:39:55 -05:00
|
|
|
#include "RimFractureModel.h"
|
2020-09-24 04:57:33 -05:00
|
|
|
#include "RimFractureModelTemplate.h"
|
2017-08-04 08:47:23 -05:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2019-09-06 03:40:57 -05:00
|
|
|
///
|
2017-08-04 08:47:23 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
QString RicFractureNameGenerator::nameForNewFracture()
|
|
|
|
{
|
2020-05-13 23:39:55 -05:00
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimFracture>( "Fracture_%1" );
|
|
|
|
}
|
2017-08-04 08:47:23 -05:00
|
|
|
|
2020-05-13 23:39:55 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
QString RicFractureNameGenerator::nameForNewFractureModel()
|
|
|
|
{
|
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimFractureModel>( "Fracture Model_%1" );
|
2017-08-04 08:47:23 -05:00
|
|
|
}
|
2020-09-24 04:57:33 -05:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
QString RicFractureNameGenerator::nameForNewFractureModelTemplate()
|
|
|
|
{
|
|
|
|
return RicFractureNameGenerator::nameForNewObject<RimFractureModelTemplate>( "Fracture Model Template_%1" );
|
|
|
|
}
|