ENH: sampledCuttingPlane: user specifiable merge tolerance

This commit is contained in:
mattijs
2011-09-13 10:54:58 +01:00
parent 906acdcdef
commit 89c502af13
2 changed files with 12 additions and 2 deletions

View File

@ -206,6 +206,8 @@ surfaces
//exposedPatchName fixedWalls; // Optional: zone only //exposedPatchName fixedWalls; // Optional: zone only
// regularise false; // Optional: do not simplify // regularise false; // Optional: do not simplify
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
// to merge points (default=1e-6)
} }
constantIso constantIso
{ {
@ -216,6 +218,8 @@ surfaces
isoValue 0.5; isoValue 0.5;
interpolate false; interpolate false;
regularise false; // do not simplify regularise false; // do not simplify
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
// to merge points (default=1e-6)
} }
triangleCut triangleCut
@ -234,6 +238,8 @@ surfaces
//exposedPatchName fixedWalls; // Optional: zone only //exposedPatchName fixedWalls; // Optional: zone only
// regularise false; // Optional: do not simplify // regularise false; // Optional: do not simplify
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
// to merge points (default=1e-6)
} }
distance distance
@ -249,6 +255,8 @@ surfaces
distance 0.0; distance 0.0;
interpolate false; interpolate false;
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
// to merge points (default=1e-6)
} }
triSurfaceSampling triSurfaceSampling

View File

@ -229,7 +229,8 @@ void Foam::sampledCuttingPlane::createGeometry()
cellDistance, cellDistance,
pointDistance_, pointDistance_,
0.0, 0.0,
regularise_ regularise_,
mergeTol_
) )
//new isoSurfaceCell //new isoSurfaceCell
//( //(
@ -237,7 +238,8 @@ void Foam::sampledCuttingPlane::createGeometry()
// cellDistance, // cellDistance,
// pointDistance_, // pointDistance_,
// 0.0, // 0.0,
// regularise_ // regularise_,
// mergeTol_
//) //)
); );