mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3958 Refactoring: Rename modifiable result access to make it easier to track in the code. The existing overloads made things harder to read.
This commit is contained in:
@@ -84,8 +84,8 @@ bool RifReaderMockModel::open(const QString& fileName, RigEclipseCaseData* eclip
|
||||
RigEclipseResultAddress resAddr(RiaDefines::INPUT_PROPERTY, resultName);\
|
||||
cellResults->createResultEntry(resAddr, false); \
|
||||
cellResults->setTimeStepInfos(resAddr, staticResultTimeStepInfos); \
|
||||
cellResults->cellScalarResults(resAddr).resize(1); \
|
||||
std::vector<double>& values = cellResults->cellScalarResults(resAddr)[0]; \
|
||||
cellResults->modifiableCellScalarResultTimesteps(resAddr).resize(1); \
|
||||
std::vector<double>& values = cellResults->modifiableCellScalarResultTimesteps(resAddr)[0]; \
|
||||
this->inputProperty(resultName, &values); \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user