mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#166) Test code commented out of EclipseView
This commit is contained in:
parent
40713a3c84
commit
4f40b3de1f
@ -417,13 +417,19 @@ void RimEclipseView::createDisplayModel()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hack to do testing of cross section
|
||||||
{
|
{
|
||||||
if (m_csPartmgr.isNull()) m_csPartmgr = new RivCrossSectionPartMgr(m_reservoir->reservoirData()->mainGrid(), NULL, NULL);
|
#if 0
|
||||||
|
cvf::ref<cvf::ModelBasicList> tempMod = new cvf::ModelBasicList;
|
||||||
|
|
||||||
|
m_pipesPartManager->appendDynamicGeometryPartsToModel(tempMod.p(), 3);
|
||||||
|
if (m_csPartmgr.isNull()) m_csPartmgr = new RivCrossSectionPartMgr(m_reservoir->reservoirData()->mainGrid(), NULL, NULL,
|
||||||
|
(*m_pipesPartManager->centerLineOfWellBranches(0))[0]);
|
||||||
for (size_t frameIdx = 0; frameIdx < frameModels.size(); ++frameIdx)
|
for (size_t frameIdx = 0; frameIdx < frameModels.size(); ++frameIdx)
|
||||||
{
|
{
|
||||||
m_csPartmgr->appendNativeCrossSectionFacesToModel(frameModels[frameIdx].p());
|
m_csPartmgr->appendNativeCrossSectionFacesToModel(frameModels[frameIdx].p(), m_reservoirGridPartManager->scaleTransform());
|
||||||
frameModels[frameIdx]->part(frameModels[frameIdx]->partCount()-1)->setTransform(m_reservoirGridPartManager->scaleTransform());
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compute triangle count, Debug only
|
// Compute triangle count, Debug only
|
||||||
@ -652,6 +658,11 @@ void RimEclipseView::updateCurrentTimeStep()
|
|||||||
|
|
||||||
this->updateFaultColors();
|
this->updateFaultColors();
|
||||||
|
|
||||||
|
// Hack to do testing of cross section
|
||||||
|
{
|
||||||
|
// this->m_csPartmgr->updateCellResultColor(m_currentTimeStep, this->cellResult());
|
||||||
|
}
|
||||||
|
|
||||||
// Well pipes
|
// Well pipes
|
||||||
if (m_viewer)
|
if (m_viewer)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user