mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Info -> InfoInFunction and updated comments
This commit is contained in:
@ -60,7 +60,7 @@ Foam::label Foam::AMIInterpolation<SourcePatch, TargetPatch>::calcDistribution
|
||||
procI = -1;
|
||||
if (debug)
|
||||
{
|
||||
Info<< "AMIInterpolation::calcDistribution: "
|
||||
InfoInFunction
|
||||
<< "AMI split across multiple processors" << endl;
|
||||
}
|
||||
}
|
||||
@ -69,7 +69,7 @@ Foam::label Foam::AMIInterpolation<SourcePatch, TargetPatch>::calcDistribution
|
||||
procI = findIndex(facesPresentOnProc, 1);
|
||||
if (debug)
|
||||
{
|
||||
Info<< "AMIInterpolation::calcDistribution: "
|
||||
InfoInFunction
|
||||
<< "AMI local to processor" << procI << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,10 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
defineTypeNameAndDebug(searchablePlate, 0);
|
||||
addToRunTimeSelectionTable(searchableSurface, searchablePlate, dict);
|
||||
|
||||
defineTypeNameAndDebug(searchablePlate, 0);
|
||||
addToRunTimeSelectionTable(searchableSurface, searchablePlate, dict);
|
||||
}
|
||||
|
||||
|
||||
@ -220,7 +218,7 @@ Foam::searchablePlate::searchablePlate
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "searchablePlate::searchablePlate :"
|
||||
InfoInFunction
|
||||
<< " origin:" << origin_
|
||||
<< " origin+span:" << origin_+span_
|
||||
<< " normal:" << vector::componentNames[normalDir_]
|
||||
@ -244,7 +242,7 @@ Foam::searchablePlate::searchablePlate
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "searchablePlate::searchablePlate :"
|
||||
InfoInFunction
|
||||
<< " origin:" << origin_
|
||||
<< " origin+span:" << origin_+span_
|
||||
<< " normal:" << vector::componentNames[normalDir_]
|
||||
|
||||
@ -98,7 +98,6 @@ addToRunTimeSelectionTable(searchableSurface, triSurfaceMesh, dict);
|
||||
//}
|
||||
|
||||
|
||||
//- Check file existence
|
||||
const Foam::fileName& Foam::triSurfaceMesh::checkFile
|
||||
(
|
||||
const fileName& fName,
|
||||
@ -690,10 +689,10 @@ void Foam::triSurfaceMesh::getNormal
|
||||
if (info[i].hit())
|
||||
{
|
||||
label faceI = info[i].index();
|
||||
//- Cached:
|
||||
// Cached:
|
||||
//normal[i] = faceNormals()[faceI];
|
||||
|
||||
//- Uncached
|
||||
// Uncached
|
||||
normal[i] = s[faceI].normal(pts);
|
||||
normal[i] /= mag(normal[i]) + VSMALL;
|
||||
}
|
||||
@ -784,16 +783,12 @@ void Foam::triSurfaceMesh::getVolumeType
|
||||
// - use cached volume type per each tree node
|
||||
volType[pointI] = tree().getVolumeType(pt);
|
||||
}
|
||||
|
||||
// Info<< "octree : " << pt << " = "
|
||||
// << volumeType::names[volType[pointI]] << endl;
|
||||
}
|
||||
|
||||
indexedOctree<treeDataTriSurface>::perturbTol() = oldTol;
|
||||
}
|
||||
|
||||
|
||||
//- Write using given format, version and compression
|
||||
bool Foam::triSurfaceMesh::writeObject
|
||||
(
|
||||
IOstream::streamFormat fmt,
|
||||
@ -815,7 +810,6 @@ bool Foam::triSurfaceMesh::writeObject
|
||||
return false;
|
||||
}
|
||||
|
||||
//return objectRegistry::writeObject(fmt, ver, cmp);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -37,7 +37,7 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(pointToPointPlanarInterpolation, 0);
|
||||
defineTypeNameAndDebug(pointToPointPlanarInterpolation, 0);
|
||||
}
|
||||
|
||||
|
||||
@ -112,7 +112,7 @@ Foam::pointToPointPlanarInterpolation::calcCoordinateSystem
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "pointToPointPlanarInterpolation::calcCoordinateSystem :"
|
||||
InfoInFunction
|
||||
<< " Used points " << p0 << ' ' << points[index1]
|
||||
<< ' ' << points[index2]
|
||||
<< " to define coordinate system with normal " << n << endl;
|
||||
@ -204,7 +204,7 @@ void Foam::pointToPointPlanarInterpolation::calcWeights
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "pointToPointPlanarInterpolation::calcWeights :"
|
||||
InfoInFunction
|
||||
<< " Perturbing points with " << perturb_
|
||||
<< " fraction of a random position inside " << bb
|
||||
<< " to break any ties on regular meshes."
|
||||
|
||||
Reference in New Issue
Block a user