From 09141f30d77fb0f8b1e91fcd9d3988130a26f5be Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 3 Dec 2012 11:04:54 +0000 Subject: [PATCH] ENH: Corrected spelling mistakes --- .../meshes/meshShapes/cellMatcher/cellMatcher.H | 12 ++++++------ .../meshes/polyMesh/mapPolyMesh/mapPolyMesh.H | 6 +++--- .../meshes/polyMesh/syncTools/syncToolsTemplates.C | 2 +- src/Pstream/gamma/Pstream.C | 4 ++-- src/conversion/polyDualMesh/polyDualMesh.C | 4 ++-- src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H | 4 ++-- src/dynamicMesh/meshCut/cellCuts/cellCuts.C | 12 ++++++------ .../meshModifiers/boundaryCutter/boundaryCutter.H | 6 +++--- .../meshCut/meshModifiers/meshCutter/meshCutter.H | 6 +++--- .../undoableMeshCutter/undoableMeshCutter.H | 6 +++--- src/dynamicMesh/perfectInterface/perfectInterface.C | 4 ++-- src/dynamicMesh/polyMeshAdder/polyMeshAdder.C | 2 +- .../polyTopoChange/polyTopoChange/hexRef8.C | 2 +- .../polyTopoChange/polyTopoChange/hexRef8.H | 4 ++-- src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C | 2 +- src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H | 4 ++-- .../fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C | 4 ++-- .../autoHexMesh/autoHexMeshDriver/autoLayerDriver.C | 2 +- .../autoHexMesh/autoHexMeshDriver/autoRefineDriver.C | 4 ++-- .../meshRefinement/meshRefinementBaffles.C | 2 +- .../surfaceIntersection/edgeIntersections.C | 4 ++-- .../triSurface/orientedSurface/orientedSurface.C | 4 ++-- .../triSurface/orientedSurface/orientedSurface.H | 6 +++--- src/triSurface/meshTriangulation/meshTriangulation.C | 4 ++-- .../LES/LESdeltas/smoothDelta/smoothDelta.H | 6 +++--- 25 files changed, 58 insertions(+), 58 deletions(-) diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H index b623b641f9..36e6b45a1b 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -55,10 +55,10 @@ Description - find most unique face shape (e.g. triangle for prism) - walk (following either vertices in face or jumping from face to other face) to other faces and checking face sizes. - - if nessecary try other rotations of this face - (only nessecary for wedge, tet-wedge) - - if nessecary try other faces which most unique face shape - (never nessecary for hex degenerates) + - if necessary try other rotations of this face + (only necessary for wedge, tet-wedge) + - if necessary try other faces which most unique face shape + (never necessary for hex degenerates) The whole calculation is done such that no lists are allocated during cell checking. E.g. localFaces_ are always sized to hold max. number @@ -94,7 +94,7 @@ class cellShape; class cellModel; /*---------------------------------------------------------------------------*\ - Class cellMatcher Declaration + Class cellMatcher Declaration \*---------------------------------------------------------------------------*/ class cellMatcher diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H index a6f388672a..2bad5824a1 100644 --- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -47,7 +47,7 @@ Description cell out of face, edge or point. - can be appended: added 'out of nothing'. - All this information is nessecary to correctly map fields. + All this information is necessary to correctly map fields. \par points @@ -153,7 +153,7 @@ namespace Foam class polyMesh; /*---------------------------------------------------------------------------*\ - Class mapPolyMesh Declaration + Class mapPolyMesh Declaration \*---------------------------------------------------------------------------*/ class mapPolyMesh diff --git a/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C b/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C index 4be6afcf2d..5d6364a681 100644 --- a/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C +++ b/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C @@ -673,7 +673,7 @@ void Foam::syncTools::syncEdgeMap // Now sharedEdgeValues will contain per potential sharedEdge the value. - // (potential since an edge having two shared points is not nessecary a + // (potential since an edge having two shared points is not necessary a // shared edge). // Reduce this on the master. diff --git a/src/Pstream/gamma/Pstream.C b/src/Pstream/gamma/Pstream.C index 4994fe7884..8113e2b1fc 100644 --- a/src/Pstream/gamma/Pstream.C +++ b/src/Pstream/gamma/Pstream.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -151,7 +151,7 @@ static void handler(void) // Save the pointer (that gamma knows about) so we can safely // gamma_switch_to_buffer with a valid pointer. - // Not sure if nessecary but do anyway. + // Not sure if necessary but do anyway. savedBuf.transfer(buf); // Resize all the buffers diff --git a/src/conversion/polyDualMesh/polyDualMesh.C b/src/conversion/polyDualMesh/polyDualMesh.C index 3e72254d38..9ed6be4c8f 100644 --- a/src/conversion/polyDualMesh/polyDualMesh.C +++ b/src/conversion/polyDualMesh/polyDualMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -424,7 +424,7 @@ void Foam::polyDualMesh::collectPatchInternalFace { featEdgeIndices2[i] = dualFace2.size() -1 - featEdgeIndices2[i]; } - // Reverse indices (might not be nessecary but do anyway) + // Reverse indices (might not be necessary but do anyway) reverse(featEdgeIndices2); } } diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H index eb771003a0..239671d58c 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H @@ -65,7 +65,7 @@ class mapAddedPolyMesh; class mapDistributePolyMesh; /*---------------------------------------------------------------------------*\ - Class fvMeshDistribute Declaration + Class fvMeshDistribute Declaration \*---------------------------------------------------------------------------*/ class fvMeshDistribute @@ -146,7 +146,7 @@ class fvMeshDistribute // patchI. autoPtr deleteProcPatches(const label patchI); - //- Repatch the mesh. This is only nessecary for the proc + //- Repatch the mesh. This is only necessary for the proc // boundary faces. newPatchID is over all boundary faces: -1 or // new patchID. constructFaceMap is being adapted for the // possible new face position (since proc faces get automatically diff --git a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C index 7bb9964b58..e213daebd2 100644 --- a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C +++ b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -2720,7 +2720,7 @@ Foam::cellCuts::cellCuts calcLoopsAndAddressing(cutCells); - // Calculate planes and flip cellLoops if nessecary + // Calculate planes and flip cellLoops if necessary orientPlanesAndLoops(); if (debug) @@ -2765,7 +2765,7 @@ Foam::cellCuts::cellCuts calcLoopsAndAddressing(identity(mesh.nCells())); - // Calculate planes and flip cellLoops if nessecary + // Calculate planes and flip cellLoops if necessary orientPlanesAndLoops(); if (debug) @@ -2811,7 +2811,7 @@ Foam::cellCuts::cellCuts // Makes sure cuts are consistent setFromCellLoops(cellLabels, cellLoops, cellEdgeWeights); - // Calculate planes and flip cellLoops if nessecary + // Calculate planes and flip cellLoops if necessary orientPlanesAndLoops(); if (debug) @@ -2855,7 +2855,7 @@ Foam::cellCuts::cellCuts // Makes sure cuts are consistent setFromCellCutter(cellCutter, refCells); - // Calculate planes and flip cellLoops if nessecary + // Calculate planes and flip cellLoops if necessary orientPlanesAndLoops(); if (debug) @@ -2901,7 +2901,7 @@ Foam::cellCuts::cellCuts // Makes sure cuts are consistent setFromCellCutter(cellCutter, cellLabels, cutPlanes); - // Calculate planes and flip cellLoops if nessecary + // Calculate planes and flip cellLoops if necessary orientPlanesAndLoops(); if (debug) diff --git a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H index 4f9371fdd3..6f45ad5dc8 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,7 +29,7 @@ Description Does - move boundary points - - split boundary edges (multiple per edge if nessecary) + - split boundary edges (multiple per edge if necessary) - face-centre decomposes boundary faces - diagonal split of boundary faces @@ -60,7 +60,7 @@ class polyMesh; class face; /*---------------------------------------------------------------------------*\ - Class boundaryCutter Declaration + Class boundaryCutter Declaration \*---------------------------------------------------------------------------*/ class boundaryCutter diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H index cc869460f8..72119572f6 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -28,7 +28,7 @@ Description Cuts (splits) cells. Description of cut is given as a loop of 'cuts' per cell (see cellCuts). - setRefinement() takes this cut description and inserts the nessecary + setRefinement() takes this cut description and inserts the necessary topoActions (add points/faces/cells) into the polyTopoChange. Stores added cells/faces/points. @@ -129,7 +129,7 @@ class polyMesh; class face; /*---------------------------------------------------------------------------*\ - Class meshCutter Declaration + Class meshCutter Declaration \*---------------------------------------------------------------------------*/ class meshCutter diff --git a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H index 229d9d6d25..d9b5ca2f15 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -88,7 +88,7 @@ class refineCell; class splitCell; /*---------------------------------------------------------------------------*\ - Class undoableMeshCutter Declaration + Class undoableMeshCutter Declaration \*---------------------------------------------------------------------------*/ class undoableMeshCutter @@ -192,7 +192,7 @@ public: //- Remove some refinement. Needs to be supplied subset of // getSplitFaces() output. Returns list of faces removed // (can be more or equal but never less than splitFaces - since - // removeFaces might decide to take down unnessecary faces) + // removeFaces might decide to take down unnecessary faces) // Only call if undoable set. labelList removeSplitFaces ( diff --git a/src/dynamicMesh/perfectInterface/perfectInterface.C b/src/dynamicMesh/perfectInterface/perfectInterface.C index 36df880891..56fc14cdc7 100644 --- a/src/dynamicMesh/perfectInterface/perfectInterface.C +++ b/src/dynamicMesh/perfectInterface/perfectInterface.C @@ -278,7 +278,7 @@ void Foam::perfectInterface::setRefinement { affectedFaces.erase(pp1.addressing()[i]); } - // Remove patch0 from renumbered faces. Should not be nessecary since + // Remove patch0 from renumbered faces. Should not be necessary since // patch0 and 1 should not share any point (if created by mergeMeshing) // so affectedFaces should not contain any patch0 faces but you can // never be sure what the user is doing. @@ -373,7 +373,7 @@ void Foam::perfectInterface::setRefinement } - // 5. Modify patch0 faces for new points (not really nessecary; see + // 5. Modify patch0 faces for new points (not really necessary; see // comment above about patch1 and patch0 never sharing points) and // becoming internal. const boolList& mfFlip = diff --git a/src/dynamicMesh/polyMeshAdder/polyMeshAdder.C b/src/dynamicMesh/polyMeshAdder/polyMeshAdder.C index 3a9773ce23..dfcc6a545e 100644 --- a/src/dynamicMesh/polyMeshAdder/polyMeshAdder.C +++ b/src/dynamicMesh/polyMeshAdder/polyMeshAdder.C @@ -713,7 +713,7 @@ void Foam::polyMeshAdder::mergePrimitives } // Copy cut face (since cutPoints are copied first no renumbering - // nessecary) + // necessary) allFaces[allFaceI] = cutFaces[i]; allOwner[allFaceI] = mesh0.faceOwner()[mesh0FaceI]; allNeighbour[allFaceI] = mesh1.faceOwner()[mesh1FaceI] + mesh0.nCells(); diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C index 7dbce8d7bd..5a4deaa8ac 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C @@ -1022,7 +1022,7 @@ Foam::label Foam::hexRef8::storeMidPointInfo } // Check if this call of storeMidPointInfo is the one that completed all - // the nessecary information. + // the necessary information. if (changed && haveTwoAnchors && haveTwoFaceMids) { diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H index 31e2a5587d..f33ee706f9 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H @@ -114,7 +114,7 @@ class hexRef8 label& zoneFlip ) const; - //- Adds a face on top of existing faceI. Reverses if nessecary. + //- Adds a face on top of existing faceI. Reverses if necessary. label addFace ( polyTopoChange& meshMod, @@ -136,7 +136,7 @@ class hexRef8 ) const; //- Modifies existing faceI for either new owner/neighbour or new face - // points. Reverses if nessecary. + // points. Reverses if necessary. void modFace ( polyTopoChange& meshMod, diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C index 59dbc40a8a..d78bee63c1 100644 --- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C +++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C @@ -825,7 +825,7 @@ void Foam::fvMeshSubset::setLargeCellSubset // 3: face coupled and used by one cell only (so should become normal, // non-coupled patch face) // - // Note that this is not really nessecary - but means we can size things + // Note that this is not really necessary - but means we can size things // correctly. Also makes handling coupled faces much easier. labelList nCellsUsingFace(oldFaces.size(), 0); diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H index 350d961115..9d8461f179 100644 --- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H +++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -241,7 +241,7 @@ public: //- Set the subset from all cells with region == currentRegion. // Create "oldInternalFaces" patch for exposed // internal faces (patchID==-1) or use supplied patch. - // Handles coupled patches by if nessecary making coupled patch + // Handles coupled patches by if necessary making coupled patch // face part of patchID (so uncoupled) void setLargeCellSubset ( diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C index 4739309c24..7ee0d53577 100644 --- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C +++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -233,7 +233,7 @@ tmp > fvMeshSubset::interpolate } - // Map exposed internal faces. Note: Only nessecary if exposed faces added + // Map exposed internal faces. Note: Only necessary if exposed faces added // into existing patch but since we don't know that at this point... forAll(patchFields, patchI) { diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C index b08cccbb85..69c25178ed 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C @@ -637,7 +637,7 @@ void Foam::autoLayerDriver::setNumLayers Info<< nl << "Handling points with inconsistent layer specification ..." << endl; - // Get for every point (really only nessecary on patch external points) + // Get for every point (really only necessary on patch external points) // the max and min of any patch faces using it. labelList maxLayers(patchNLayers.size(), labelMin); labelList minLayers(patchNLayers.size(), labelMax); diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C index dfd769fd15..a5b663890c 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C @@ -235,7 +235,7 @@ Foam::label Foam::autoRefineDriver::surfaceOnlyRefine << " cells (out of " << mesh.globalData().nTotalCells() << ')' << endl; - // Stop when no cells to refine or have done minimum nessecary + // Stop when no cells to refine or have done minimum necessary // iterations and not enough cells to refine. if ( @@ -438,7 +438,7 @@ Foam::label Foam::autoRefineDriver::shellRefine << " cells (out of " << mesh.globalData().nTotalCells() << ')' << endl; - // Stop when no cells to refine or have done minimum nessecary + // Stop when no cells to refine or have done minimum necessary // iterations and not enough cells to refine. if ( diff --git a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C index aeaa5ac4cb..b9c189ffa0 100644 --- a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C +++ b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C @@ -1108,7 +1108,7 @@ Foam::autoPtr Foam::meshRefinement::mergeBaffles mesh_.setInstance(timeName()); // Update intersections. Recalculate intersections on merged faces since - // this seems to give problems? Note: should not be nessecary since + // this seems to give problems? Note: should not be necessary since // baffles preserve intersections from when they were created. labelList newExposedFaces(2*couples.size()); label newI = 0; diff --git a/src/meshTools/triSurface/booleanOps/surfaceIntersection/edgeIntersections.C b/src/meshTools/triSurface/booleanOps/surfaceIntersection/edgeIntersections.C index 662c9e0ac1..13730bc5c1 100644 --- a/src/meshTools/triSurface/booleanOps/surfaceIntersection/edgeIntersections.C +++ b/src/meshTools/triSurface/booleanOps/surfaceIntersection/edgeIntersections.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -589,7 +589,7 @@ Foam::label Foam::edgeIntersections::removeDegenerates // If edge not already marked for retesting if (!affectedEdges[edgeI]) { - // 1. Check edges close to endpoint and perturb if nessecary. + // 1. Check edges close to endpoint and perturb if necessary. bool shiftedEdgeEndPoints = inlinePerturb diff --git a/src/meshTools/triSurface/orientedSurface/orientedSurface.C b/src/meshTools/triSurface/orientedSurface/orientedSurface.C index e42553d3c1..be73d4bb66 100644 --- a/src/meshTools/triSurface/orientedSurface/orientedSurface.C +++ b/src/meshTools/triSurface/orientedSurface/orientedSurface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -204,7 +204,7 @@ void Foam::orientedSurface::propagateOrientation if (side == triSurfaceTools::UNKNOWN) { // Non-closed surface. Do what? For now behave as if no flipping - // nessecary + // necessary flipState[nearestFaceI] = NOFLIP; } else if ((side == triSurfaceTools::OUTSIDE) == orientOutside) diff --git a/src/meshTools/triSurface/orientedSurface/orientedSurface.H b/src/meshTools/triSurface/orientedSurface/orientedSurface.H index bfb318e015..54b416e590 100644 --- a/src/meshTools/triSurface/orientedSurface/orientedSurface.H +++ b/src/meshTools/triSurface/orientedSurface/orientedSurface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -47,7 +47,7 @@ namespace Foam class triSurfaceSearch; /*---------------------------------------------------------------------------*\ - Class orientedSurface Declaration + Class orientedSurface Declaration \*---------------------------------------------------------------------------*/ class orientedSurface @@ -101,7 +101,7 @@ class orientedSurface ); //- Given nearest point and face check orientation to nearest face - // and flip if nessecary (only marked in flipState) and propagate. + // and flip if necessary (only marked in flipState) and propagate. static void propagateOrientation ( const triSurface&, diff --git a/src/triSurface/meshTriangulation/meshTriangulation.C b/src/triSurface/meshTriangulation/meshTriangulation.C index 56c18327d1..4231c3d16f 100644 --- a/src/triSurface/meshTriangulation/meshTriangulation.C +++ b/src/triSurface/meshTriangulation/meshTriangulation.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -451,7 +451,7 @@ Foam::meshTriangulation::meshTriangulation } } - // Shrink if nessecary (because of invalid triangulations) + // Shrink if necessary (because of invalid triangulations) triangles.setSize(triI); faceMap_.setSize(triI); diff --git a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H index 6b39231580..ba7fd1be49 100644 --- a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H +++ b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -45,7 +45,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class smoothDelta Declaration + Class smoothDelta Declaration \*---------------------------------------------------------------------------*/ class smoothDelta @@ -62,7 +62,7 @@ public: // Private Member Functions //- Update. Gets information from neighbouring face/cell and - // uses this to update itself (if nessecary) and return true. + // uses this to update itself (if necessary) and return true. template inline bool update (