Improved text output to Process Monitor and added grid index

p4#: 22145
This commit is contained in:
Magne Sjaastad
2013-08-12 10:12:36 +02:00
parent ee4e6aeed4
commit 494a5857dd
2 changed files with 11 additions and 4 deletions

View File

@@ -104,12 +104,15 @@ void getGridProperty(NDArray& propertyFrames, const QString &serverName, quint16
if (caseId < 0) if (caseId < 0)
{ {
tmp += QString(" from current case."); tmp += QString(" from current case,");
} }
else else
{ {
tmp += QString(" from case with Id: %1.").arg(caseId); tmp += QString(" from case with Id: %1,").arg(caseId);
} }
tmp += QString(" grid index: %1, ").arg(gridIdx);
octave_stdout << tmp.toStdString() << " I, J, K " << cellCountI << ", " << cellCountJ << ", " << cellCountK << ", Timesteps : " << timestepCount << std::endl; octave_stdout << tmp.toStdString() << " I, J, K " << cellCountI << ", " << cellCountJ << ", " << cellCountK << ", Timesteps : " << timestepCount << std::endl;
return; return;

View File

@@ -72,12 +72,16 @@ void setEclipseProperty(const NDArray& propertyFrames, const QString &hostName,
if (caseId == -1) if (caseId == -1)
{ {
tmp += QString(" to current case."); tmp += QString(" to current case,");
} }
else else
{ {
tmp += QString(" to case with Id = %1.").arg(caseId); tmp += QString(" to case with Id = %1,").arg(caseId);
} }
tmp += QString(" grid index: %1, ").arg(gridIndex);
octave_stdout << tmp.toStdString() << " Time steps : " << timeStepCount << std::endl;
} }
else else
{ {