From 76bb575f45d388f8fc43e269b8ee0e6944de04c2 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 13 Apr 2009 12:28:43 +0100 Subject: [PATCH] updated comment --- .../meshes/primitiveShapes/triangle/triangle.H | 11 ++++------- .../polyTopoChange/polyTopoChange/addPatchCellLayer.H | 5 +++-- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H index 1165046636..3bc3ea38a8 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H +++ b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H @@ -166,14 +166,11 @@ public: const intersection::direction dir = intersection::VECTOR ) const; - //- Fast intersection with a ray. Distance is normalised distance - // to the intersection (normalised with the vector magnitude). - // For a hit, the distance is signed. Positive number - // represents the point in front of triangle. In case of miss - // pointHit position is undefined. - // Only defined for VISIBLE, FULL_RAY or + //- Fast intersection with a ray. + // For a hit, the pointHit.distance() is the line parameter t : + // intersection=p+t*q. Only defined for VISIBLE, FULL_RAY or // HALF_RAY. tol increases the virtual size of the triangle - // by a relative factor. + // by a relative factor. inline pointHit intersection ( const point& p, diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H index ea6a7674e4..f03d23e214 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H @@ -294,9 +294,10 @@ public: // - nPointLayers : number of layers per (patch)point // - nFaceLayers : number of layers per (patch) face // - firstDisplacement : displacement per point for first - // layer of points. If zero do not add point. + // layer of points (i.e. nearest to original mesh). If zero + // do not add point. // Layer thicknesses are calculated to constant geometric - // expansion. Use expansionRatio for constant size. + // expansion. Use expansionRatio 1 for constant size. // Sets addedPoints_ which is per pp point a list of points // added. // Note: firstDisplacement has to be parallel synchronised before