mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1400 - pre-proto - Adding function for calculating transmissibilitiy from matrix for each stimPlan-cell (based on contribution from intersecting eclipse cells).
This commit is contained in:
@@ -811,6 +811,7 @@ std::vector<RigStimPlanCell*> RimStimPlanFractureTemplate::getStimPlanCells(cons
|
||||
cellPolygon.push_back(cvf::Vec3d(static_cast<float>(xCoords[j + 1]), static_cast<float>(depthCoords[i + 1]), 0.0));
|
||||
cellPolygon.push_back(cvf::Vec3d(static_cast<float>(xCoords[j]), static_cast<float>(depthCoords[i + 1]), 0.0));
|
||||
|
||||
//TODO: ikke bruke new, returner objekt i stedet for pekeren...
|
||||
RigStimPlanCell* stimPlanCell = new RigStimPlanCell(cellPolygon, propertyValuesAtTimeStep[i + 1][j + 1], i, j);
|
||||
stimPlanCells.push_back(stimPlanCell);
|
||||
}
|
||||
|
||||
@@ -77,11 +77,13 @@ public:
|
||||
|
||||
void getStimPlanDataAsPolygonsAndValues(std::vector<std::vector<cvf::Vec3d> > &cellsAsPolygons, std::vector<double> ¶meterValue, const QString& resultName, const QString& unitName, size_t timeStepIndex);
|
||||
std::vector<RigStimPlanCell*> getStimPlanCells(const QString& resultName, const QString& unitName, size_t timeStepIndex);
|
||||
//const std::vector<RigStimPlanCell>& getStimPlanCells();
|
||||
//TODO: replace by new get-function returning pointer to m_stimPlanCells
|
||||
std::vector<cvf::Vec3d> getStimPlanRowPolygon(size_t i);
|
||||
std::vector<cvf::Vec3d> getStimPlanColPolygon(size_t j);
|
||||
|
||||
|
||||
void loadDataAndUpdate();
|
||||
void loadDataAndUpdate(); //TODO: Update m_stimPlanCells
|
||||
void setDefaultsBasedOnXMLfile();
|
||||
std::vector<std::vector<double>> getDataAtTimeIndex(const QString& resultName, const QString& unitName, size_t timeStepIndex) const;
|
||||
std::vector<std::vector<double>> getMirroredDataAtTimeIndex(const QString& resultName, const QString& unitName, size_t timeStepIndex) const;
|
||||
@@ -111,5 +113,7 @@ private:
|
||||
caf::PdmField<QString> m_stimPlanFileName;
|
||||
cvf::ref<RigStimPlanFractureDefinition> m_stimPlanFractureDefinitionData;
|
||||
|
||||
|
||||
//TODO add
|
||||
// std::vector<RigStimPlanCell> m_stimPlanConductivityCells;
|
||||
// std::vector<RigStimPlanCell> m_stimPlanVisibleCells;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user