mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
blockMesh: corrected debug messages
Patch contributed by Mattijs Janssens
This commit is contained in:
@ -240,8 +240,8 @@ Foam::projectCurveEdge::position(const scalarList& lambdas) const
|
||||
{
|
||||
forAll(points, i)
|
||||
{
|
||||
const linePointRef ln(points[i], points[i]+residual[i]);
|
||||
debugStr().write(ln);
|
||||
const point predicted(points[i] + residual[i]);
|
||||
debugStr().write(linePointRef(points[i], predicted));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ Foam::projectEdge::projectEdge
|
||||
Foam::point Foam::projectEdge::position(const scalar lambda) const
|
||||
{
|
||||
// Initial guess
|
||||
const point start(points_[start_]+lambda*(points_[end_]-points_[start_]));
|
||||
const point start(points_[start_] + lambda*(points_[end_]-points_[start_]));
|
||||
|
||||
point near(start);
|
||||
|
||||
@ -255,8 +255,8 @@ Foam::projectEdge::position(const scalarList& lambdas) const
|
||||
{
|
||||
forAll(points, i)
|
||||
{
|
||||
const linePointRef ln(points[i], points[i]+residual[i]);
|
||||
debugStr().write(ln);
|
||||
const point predicted(points[i] + residual[i]);
|
||||
debugStr().write(linePointRef(points[i], predicted));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -74,7 +74,7 @@ Foam::label Foam::blockFaces::projectFace::index
|
||||
const labelPair& coord
|
||||
) const
|
||||
{
|
||||
return coord.first()+coord.second()*n.first();
|
||||
return coord.first() + coord.second()*n.first();
|
||||
}
|
||||
|
||||
|
||||
@ -173,24 +173,24 @@ void Foam::blockFaces::projectFace::project
|
||||
case 0:
|
||||
case 1:
|
||||
{
|
||||
n.first() = desc.density()[1]+1;
|
||||
n.second() = desc.density()[2]+1;
|
||||
n.first() = desc.density()[1] + 1;
|
||||
n.second() = desc.density()[2] + 1;
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
n.first() = desc.density()[0]+1;
|
||||
n.second() = desc.density()[2]+1;
|
||||
n.first() = desc.density()[0] + 1;
|
||||
n.second() = desc.density()[2] + 1;
|
||||
}
|
||||
break;
|
||||
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
n.first() = desc.density()[0]+1;
|
||||
n.second() = desc.density()[1]+1;
|
||||
n.first() = desc.density()[0] + 1;
|
||||
n.second() = desc.density()[1] + 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -293,8 +293,8 @@ void Foam::blockFaces::projectFace::project
|
||||
{
|
||||
forAll(points, i)
|
||||
{
|
||||
const linePointRef ln(points[i], points[i]+residual[i]);
|
||||
debugStr().write(ln);
|
||||
const point predicted(points[i] + residual[i]);
|
||||
debugStr().write(linePointRef(points[i], predicted));
|
||||
}
|
||||
}
|
||||
|
||||
@ -345,8 +345,8 @@ void Foam::blockFaces::projectFace::project
|
||||
{
|
||||
forAll(points, i)
|
||||
{
|
||||
const linePointRef ln(points[i], points[i]+residual[i]);
|
||||
debugStr().write(ln);
|
||||
const point predicted(points[i] + residual[i]);
|
||||
debugStr().write(linePointRef(points[i], predicted));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user