Removed debug output

p4#: 21887
This commit is contained in:
Jacob Støren
2013-06-12 10:52:46 +02:00
parent a9d2baf117
commit 03ad142261
7 changed files with 17 additions and 15 deletions

View File

@@ -223,7 +223,7 @@ void RimProject::initAfterRead()
if (analysisModels)
{
analysisModels->caseGroups.push_back(sourceCaseGroup);
printf("Moved m_project->caseGroupsObsolete[%i] to first oil fields analysis models\n", cgIdx);
//printf("Moved m_project->caseGroupsObsolete[%i] to first oil fields analysis models\n", cgIdx);
movedOneRimIdenticalGridCaseGroup = true; // moved at least one so assume the others will be moved too...
}
}
@@ -240,7 +240,7 @@ void RimProject::initAfterRead()
if (analysisModels)
{
analysisModels->cases.push_back(sourceCase);
printf("Moved m_project->casesObsolete[%i] to first oil fields analysis models\n", cIdx);
//printf("Moved m_project->casesObsolete[%i] to first oil fields analysis models\n", cIdx);
movedOneRimCase = true; // moved at least one so assume the others will be moved too...
}
}

View File

@@ -652,7 +652,7 @@ void RimReservoirView::createDisplayModel()
//--------------------------------------------------------------------------------------------------
void RimReservoirView::updateCurrentTimeStep()
{
printf("########## updateCurrentTimeStep for frame %i ##########\n", m_currentTimeStep.v());
//printf("########## updateCurrentTimeStep for frame %i ##########\n", m_currentTimeStep.v());
std::vector<RivReservoirViewPartMgr::ReservoirGeometryCacheType> geometriesToRecolor;
if (this->propertyFilterCollection()->hasActiveFilters())
@@ -765,7 +765,7 @@ void RimReservoirView::updateCurrentTimeStep()
for (size_t i = 0; i < wellPathModels.size(); i++)
{
printf("updateCurrentTimeStep: Remove WellPathModel %i from frameScene, for frame %i\n", i, m_currentTimeStep.v());
//printf("updateCurrentTimeStep: Remove WellPathModel %i from frameScene, for frame %i\n", i, m_currentTimeStep.v());
frameScene->removeModel(wellPathModels[i]);
}
@@ -777,12 +777,12 @@ void RimReservoirView::updateCurrentTimeStep()
RivWellPathCollectionPartMgr* wellPathCollectionPartMgr = (wellPathCollection) ? wellPathCollection->wellPathCollectionPartMgr() : NULL;
if (wellPathCollectionPartMgr)
{
printf("updateCurrentTimeStep: Append well paths for frame %i: ", m_currentTimeStep.v());
//printf("updateCurrentTimeStep: Append well paths for frame %i: ", m_currentTimeStep.v());
cvf::Vec3d displayModelOffset = eclipseCase()->reservoirData()->mainGrid()->displayModelOffset();
double characteristicCellSize = eclipseCase()->reservoirData()->mainGrid()->characteristicIJCellSize();
cvf::BoundingBox boundingBox = currentActiveCellInfo()->geometryBoundingBox();
wellPathCollectionPartMgr->appendStaticGeometryPartsToModel(wellPathModelBasicList.p(), displayModelOffset, m_reservoirGridPartManager->scaleTransform(), characteristicCellSize, boundingBox);
printf("\n");
//printf("\n");
}
wellPathModelBasicList->updateBoundingBoxesRecursive();
frameScene->addModel(wellPathModelBasicList.p());

View File

@@ -183,9 +183,9 @@ void RimWellPath::readWellPathFile()
updateDate = updateDateTime.toString("d MMMM yyyy");
updateUser = jsonMap["updateUser"].toString();
printf("Read JSON file: well path name = %s\n filePath = %s\n",
/*printf("Read JSON file: well path name = %s\n filePath = %s\n",
name().toStdString().c_str(),
(const char*) filepath().toLocal8Bit());
(const char*) filepath().toLocal8Bit());*/
double datumElevation = jsonMap["datumElevation"].toDouble();

View File

@@ -144,7 +144,7 @@ void RimWellPathCollection::addWellPaths( QStringList filePaths )
QString s2 = f2.fileName();
if (s1 == s2)
{
printf("Attempting to open well path JSON file that is already open:\n %s\n", (const char*) filePath.toLocal8Bit());
//printf("Attempting to open well path JSON file that is already open:\n %s\n", (const char*) filePath.toLocal8Bit());
alreadyOpen = true;
break;
}