diff --git a/src/OpenFOAM/db/error/messageStream.H b/src/OpenFOAM/db/error/messageStream.H index 68032d40..01575f22 100644 --- a/src/OpenFOAM/db/error/messageStream.H +++ b/src/OpenFOAM/db/error/messageStream.H @@ -282,13 +282,6 @@ extern messageStream Info; ::Foam::Pout<< "["<< __FILE__ << ":" << __LINE__ << "] " \ << #var " = " << var << ::Foam::endl -/** - * \def IInfo - * Indented Info -*/ -#define IInfo \ - ::Foam::Info<< indent - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/fvOptions/fvOptions/fvOption.C b/src/fvOptions/fvOptions/fvOption.C index 011b8e6e..3387bdec 100644 --- a/src/fvOptions/fvOptions/fvOption.C +++ b/src/fvOptions/fvOptions/fvOption.C @@ -113,7 +113,7 @@ void Foam::fv::option::setCellSet() { case smPoints: { - IInfo<< "- selecting cells using points" << endl; + Info<< indent << "- selecting cells using points" << endl; labelHashSet selectedCells; @@ -141,7 +141,8 @@ void Foam::fv::option::setCellSet() } case smCellSet: { - IInfo<< "- selecting cells using cellSet " << cellSetName_ << endl; + Info<< indent + << "- selecting cells using cellSet " << cellSetName_ << endl; cellSet selectedCells(mesh_, cellSetName_); cells_ = selectedCells.toc(); @@ -150,7 +151,8 @@ void Foam::fv::option::setCellSet() } case smCellZone: { - IInfo<< "- selecting cells using cellZone " << cellSetName_ << endl; + Info<< indent + << "- selecting cells using cellZone " << cellSetName_ << endl; label zoneID = mesh_.cellZones().findZoneID(cellSetName_); if (zoneID == -1) @@ -168,7 +170,7 @@ void Foam::fv::option::setCellSet() { if (active_ && master_) { - IInfo<< "- selecting inter region mapping" << endl; + Info<< indent << "- selecting inter region mapping" << endl; const fvMesh& nbrMesh = mesh_.time().lookupObject(nbrRegionName_); @@ -213,7 +215,7 @@ void Foam::fv::option::setCellSet() } case smAll: { - IInfo<< "- selecting all cells" << endl; + Info<< indent << "- selecting all cells" << endl; cells_ = identity(mesh_.nCells()); break; @@ -238,7 +240,8 @@ void Foam::fv::option::setCellSet() } reduce(V_, sumOp()); - IInfo<< "- selected " << returnReduce(cells_.size(), sumOp