mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1035 Implemented Flow Diag access and caching system down to solver
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RigFlowDiagSolverInterface.h"
|
||||
#include "RimFlowDiagSolution.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -30,7 +31,8 @@ RigFlowDiagTimeStepResult::RigFlowDiagTimeStepResult(size_t activeCellCount)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigFlowDiagSolverInterface::RigFlowDiagSolverInterface(RimEclipseResultCase* eclCase)
|
||||
RigFlowDiagSolverInterface::RigFlowDiagSolverInterface(RimFlowDiagSolution* flowSol)
|
||||
: m_flowDiagSolution(flowSol)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -46,8 +48,10 @@ RigFlowDiagSolverInterface::~RigFlowDiagSolverInterface()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::ref<RigFlowDiagTimeStepResult> RigFlowDiagSolverInterface::calculate(size_t timestep, const std::vector<RigTracerCells > & allTracerData)
|
||||
RigFlowDiagTimeStepResult RigFlowDiagSolverInterface::calculate(size_t timestep)
|
||||
{
|
||||
return new RigFlowDiagTimeStepResult(0);
|
||||
std::vector<RigTracerCells > allTracerData;
|
||||
|
||||
return RigFlowDiagTimeStepResult(0); // Relying on implicit move constructor
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user