mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6234 Fracture Model: add template to enable data sharing.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "RimElasticProperties.h"
|
||||
#include "RimFractureModel.h"
|
||||
#include "RimFractureModelPlot.h"
|
||||
#include "RimFractureModelTemplate.h"
|
||||
#include "RimModeledWellPath.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimTools.h"
|
||||
@@ -212,7 +213,14 @@ void RimElasticPropertiesCurve::performDataExtraction( bool* isUsingPseudoLength
|
||||
return;
|
||||
}
|
||||
|
||||
RimElasticProperties* elasticProperties = m_fractureModel->elasticProperties();
|
||||
RimFractureModelTemplate* fractureModelTemplate = m_fractureModel->fractureModelTemplate();
|
||||
if ( !fractureModelTemplate )
|
||||
{
|
||||
RiaLogging::error( QString( "No fracture model template found" ) );
|
||||
return;
|
||||
}
|
||||
|
||||
RimElasticProperties* elasticProperties = fractureModelTemplate->elasticProperties();
|
||||
if ( !elasticProperties )
|
||||
{
|
||||
RiaLogging::error( QString( "No elastic properties found" ) );
|
||||
|
||||
Reference in New Issue
Block a user