mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Modifying boost library include location. Commenting out hacks to allow dangermouse to run.
This commit is contained in:
@ -1097,6 +1097,7 @@ void Foam::CV3D::relaxPoints(const scalar relaxation)
|
|||||||
|
|
||||||
scalar targetCellSizeB = targetCellSize;
|
scalar targetCellSizeB = targetCellSize;
|
||||||
|
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
// if
|
// if
|
||||||
// (
|
// (
|
||||||
// vA->indexOfClosestPatch() == 1
|
// vA->indexOfClosestPatch() == 1
|
||||||
@ -1123,33 +1124,35 @@ void Foam::CV3D::relaxPoints(const scalar relaxation)
|
|||||||
// targetCellSizeB *= 2;
|
// targetCellSizeB *= 2;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
(
|
// if
|
||||||
vA->indexOfClosestPatch() == 1
|
// (
|
||||||
&& vA->distanceToClosestSurface() < 0.04
|
// vA->indexOfClosestPatch() == 1
|
||||||
)
|
// && vA->distanceToClosestSurface() < 0.04
|
||||||
{
|
// )
|
||||||
targetCellSizeA *=
|
// {
|
||||||
(43.75*vA->distanceToClosestSurface() + 0.25);
|
// targetCellSizeA *=
|
||||||
}
|
// (43.75*vA->distanceToClosestSurface() + 0.25);
|
||||||
else
|
// }
|
||||||
{
|
// else
|
||||||
targetCellSizeA *= 2;
|
// {
|
||||||
}
|
// targetCellSizeA *= 2;
|
||||||
|
// }
|
||||||
|
|
||||||
if
|
// if
|
||||||
(
|
// (
|
||||||
vB->indexOfClosestPatch() == 1
|
// vB->indexOfClosestPatch() == 1
|
||||||
&& vB->distanceToClosestSurface() < 0.04
|
// && vB->distanceToClosestSurface() < 0.04
|
||||||
)
|
// )
|
||||||
{
|
// {
|
||||||
targetCellSizeB *=
|
// targetCellSizeB *=
|
||||||
(43.75*vB->distanceToClosestSurface() + 0.25);
|
// (43.75*vB->distanceToClosestSurface() + 0.25);
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
targetCellSizeB *= 2;
|
// targetCellSizeB *= 2;
|
||||||
}
|
// }
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
targetCellSize = sqrt(targetCellSizeA * targetCellSizeB);
|
targetCellSize = sqrt(targetCellSizeA * targetCellSizeB);
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/triSurface/lnInclude
|
-I$(LIB_SRC)/triSurface/lnInclude
|
||||||
|
|
||||||
EXE_LIBS = \
|
EXE_LIBS = \
|
||||||
-L$(BOOST_SRC)/libs \
|
-L$(BOOST_SRC)/lib \
|
||||||
-lmeshTools \
|
-lmeshTools \
|
||||||
-ltriSurface \
|
-ltriSurface \
|
||||||
-ldynamicMesh \
|
-ldynamicMesh \
|
||||||
|
|||||||
@ -888,16 +888,16 @@ void Foam::CV3D::insertSurfaceNearestPointPairs()
|
|||||||
|
|
||||||
if (edgePoints.size())
|
if (edgePoints.size())
|
||||||
{
|
{
|
||||||
Warning<< "Edge point insertion disabled." << endl;
|
//Warning<< "Edge point insertion disabled." << endl;
|
||||||
|
|
||||||
// smoothEdgePositions(edgePoints, edgeLabels);
|
smoothEdgePositions(edgePoints, edgeLabels);
|
||||||
|
|
||||||
// insertEdgePointGroups
|
insertEdgePointGroups
|
||||||
// (
|
(
|
||||||
// edgePoints,
|
edgePoints,
|
||||||
// edgeLabels,
|
edgeLabels,
|
||||||
// "surfaceNearestEdgePoints.obj"
|
"surfaceNearestEdgePoints.obj"
|
||||||
// );
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user