2013-04-03 09:09:53 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
2013-02-01 12:25:34 +01:00
|
|
|
//
|
2014-09-24 07:14:52 +02:00
|
|
|
// Copyright (C) Statoil ASA
|
|
|
|
|
// Copyright (C) Ceetron Solutions AS
|
2013-04-03 09:09:53 +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.
|
|
|
|
|
//
|
|
|
|
|
// 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.
|
|
|
|
|
//
|
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
|
// for more details.
|
2013-02-01 12:25:34 +01:00
|
|
|
//
|
2013-04-03 09:09:53 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
2013-02-01 12:25:34 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2013-02-01 14:39:32 +01:00
|
|
|
#include "RifReaderInterface.h"
|
2014-08-09 15:21:46 +02:00
|
|
|
#include "RigResultAccessor.h"
|
2014-08-09 15:08:30 +02:00
|
|
|
#include "RimDefines.h"
|
2013-02-01 12:25:34 +01:00
|
|
|
|
2013-02-12 14:46:45 +01:00
|
|
|
class RigActiveCellInfo;
|
|
|
|
|
class RigGridBase;
|
2013-02-07 12:16:04 +01:00
|
|
|
|
2014-08-07 13:22:09 +02:00
|
|
|
class RigResultAccessorFactory
|
2013-02-12 14:46:45 +01:00
|
|
|
{
|
2013-02-01 12:25:34 +01:00
|
|
|
public:
|
2014-08-07 13:22:09 +02:00
|
|
|
static cvf::ref<RigResultAccessor>
|
|
|
|
|
createResultAccessor(RigCaseData* eclipseCase,
|
2014-08-06 15:14:01 +02:00
|
|
|
size_t gridIndex,
|
|
|
|
|
RifReaderInterface::PorosityModelResultType porosityModel,
|
|
|
|
|
size_t timeStepIndex,
|
2014-08-07 15:30:12 +02:00
|
|
|
const QString& uiResultName);
|
2014-08-06 14:04:26 +02:00
|
|
|
|
2014-08-09 15:08:30 +02:00
|
|
|
static cvf::ref<RigResultAccessor>
|
|
|
|
|
createResultAccessor(RigCaseData* eclipseCase,
|
|
|
|
|
size_t gridIndex,
|
|
|
|
|
RifReaderInterface::PorosityModelResultType porosityModel,
|
|
|
|
|
size_t timeStepIndex,
|
|
|
|
|
const QString& uiResultName,
|
|
|
|
|
RimDefines::ResultCatType resultType);
|
|
|
|
|
|
2014-08-12 14:36:15 +02:00
|
|
|
static cvf::ref<RigResultAccessor>
|
|
|
|
|
createResultAccessor(RigCaseData* eclipseCase,
|
|
|
|
|
size_t gridIndex,
|
|
|
|
|
RifReaderInterface::PorosityModelResultType porosityModel,
|
|
|
|
|
size_t timeStepIndex,
|
|
|
|
|
size_t resultIndex);
|
|
|
|
|
|
2014-08-06 14:04:26 +02:00
|
|
|
|
|
|
|
|
|
2014-08-06 15:14:01 +02:00
|
|
|
private:
|
2014-08-07 13:22:09 +02:00
|
|
|
static cvf::ref<RigResultAccessor>
|
|
|
|
|
createNativeResultAccessor(RigCaseData* eclipseCase,
|
2014-08-06 15:14:01 +02:00
|
|
|
size_t gridIndex,
|
|
|
|
|
RifReaderInterface::PorosityModelResultType porosityModel,
|
|
|
|
|
size_t timeStepIndex,
|
2014-08-07 15:30:12 +02:00
|
|
|
const QString& resultName);
|
2014-08-06 14:04:26 +02:00
|
|
|
|
|
|
|
|
|
2013-02-01 12:25:34 +01:00
|
|
|
};
|
|
|
|
|
|
2013-02-12 14:46:45 +01:00
|
|
|
|