triangle, triFace, face: Rationalized normal for consistency with the rest of OpenFOAM

For compatibility with all the mesh and related classes in OpenFOAM The 'normal'
function of the 'triangle', 'triFace' and 'face' classes now returns the unit
normal vector rather than the vector area which is now provided by the 'area'
function.
This commit is contained in:
Henry Weller
2018-04-06 13:57:36 +01:00
parent 1fd4ecb024
commit 43b35a5173
65 changed files with 288 additions and 1037 deletions

View File

@ -43,14 +43,6 @@ namespace Foam
extern const scalar externalAngleTolerance;
extern const scalar externalToleranceCosAngle;
scalar calcVertexNormalWeight
(
const triFace& f,
const label pI,
const vector& fN,
const pointField& points
);
point randomPointInPlane(const plane& p);
triadField calcVertexCoordSys
@ -59,8 +51,6 @@ namespace Foam
const vectorField& pointNormals
);
vectorField calcVertexNormals(const triSurface& surf);
triSurfacePointScalarField calcCurvature
(
const word& name,