Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
09141f30
Commit
09141f30
authored
Dec 03, 2012
by
andy
Browse files
ENH: Corrected spelling mistakes
parent
af13fd66
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H
View file @
09141f30
...
...
@@ -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 ness
ec
ary try other rotations of this face
(only ness
ec
ary for wedge, tet-wedge)
- if ness
ec
ary try other faces which most unique face shape
(never ness
ec
ary for hex degenerates)
- if ne
ce
ssary try other rotations of this face
(only ne
ce
ssary for wedge, tet-wedge)
- if ne
ce
ssary try other faces which most unique face shape
(never ne
ce
ssary 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
...
...
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H
View file @
09141f30
...
...
@@ -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 ness
ec
ary to correctly map fields.
All this information is ne
ce
ssary to correctly map fields.
\par points
...
...
@@ -153,7 +153,7 @@ namespace Foam
class
polyMesh
;
/*---------------------------------------------------------------------------*\
Class mapPolyMesh Declaration
Class mapPolyMesh Declaration
\*---------------------------------------------------------------------------*/
class
mapPolyMesh
...
...
src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary a
// (potential since an edge having two shared points is not ne
ce
ssary a
// shared edge).
// Reduce this on the master.
...
...
src/Pstream/gamma/Pstream.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary but do anyway.
// Not sure if ne
ce
ssary but do anyway.
savedBuf
.
transfer
(
buf
);
// Resize all the buffers
...
...
src/conversion/polyDualMesh/polyDualMesh.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary but do anyway)
// Reverse indices (might not be ne
ce
ssary but do anyway)
reverse
(
featEdgeIndices2
);
}
}
...
...
src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H
View file @
09141f30
...
...
@@ -65,7 +65,7 @@ class mapAddedPolyMesh;
class
mapDistributePolyMesh
;
/*---------------------------------------------------------------------------*\
Class fvMeshDistribute Declaration
Class fvMeshDistribute Declaration
\*---------------------------------------------------------------------------*/
class
fvMeshDistribute
...
...
@@ -146,7 +146,7 @@ class fvMeshDistribute
// patchI.
autoPtr
<
mapPolyMesh
>
deleteProcPatches
(
const
label
patchI
);
//- Repatch the mesh. This is only ness
ec
ary for the proc
//- Repatch the mesh. This is only ne
ce
ssary 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
...
...
src/dynamicMesh/meshCut/cellCuts/cellCuts.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary
// Calculate planes and flip cellLoops if ne
ce
ssary
orientPlanesAndLoops
();
if
(
debug
)
...
...
@@ -2765,7 +2765,7 @@ Foam::cellCuts::cellCuts
calcLoopsAndAddressing
(
identity
(
mesh
.
nCells
()));
// Calculate planes and flip cellLoops if ness
ec
ary
// Calculate planes and flip cellLoops if ne
ce
ssary
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 ness
ec
ary
// Calculate planes and flip cellLoops if ne
ce
ssary
orientPlanesAndLoops
();
if
(
debug
)
...
...
@@ -2855,7 +2855,7 @@ Foam::cellCuts::cellCuts
// Makes sure cuts are consistent
setFromCellCutter
(
cellCutter
,
refCells
);
// Calculate planes and flip cellLoops if ness
ec
ary
// Calculate planes and flip cellLoops if ne
ce
ssary
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 ness
ec
ary
// Calculate planes and flip cellLoops if ne
ce
ssary
orientPlanesAndLoops
();
if
(
debug
)
...
...
src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H
View file @
09141f30
...
...
@@ -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 ness
ec
ary)
- split boundary edges (multiple per edge if ne
ce
ssary)
- 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
...
...
src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H
View file @
09141f30
...
...
@@ -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 ness
ec
ary
setRefinement() takes this cut description and inserts the ne
ce
ssary
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
...
...
src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H
View file @
09141f30
...
...
@@ -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 unness
ec
ary faces)
// removeFaces might decide to take down unne
ce
ssary faces)
// Only call if undoable set.
labelList
removeSplitFaces
(
...
...
src/dynamicMesh/perfectInterface/perfectInterface.C
View file @
09141f30
...
...
@@ -278,7 +278,7 @@ void Foam::perfectInterface::setRefinement
{
affectedFaces
.
erase
(
pp1
.
addressing
()[
i
]);
}
// Remove patch0 from renumbered faces. Should not be ness
ec
ary since
// Remove patch0 from renumbered faces. Should not be ne
ce
ssary 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 ness
ec
ary; see
// 5. Modify patch0 faces for new points (not really ne
ce
ssary; see
// comment above about patch1 and patch0 never sharing points) and
// becoming internal.
const
boolList
&
mfFlip
=
...
...
src/dynamicMesh/polyMeshAdder/polyMeshAdder.C
View file @
09141f30
...
...
@@ -713,7 +713,7 @@ void Foam::polyMeshAdder::mergePrimitives
}
// Copy cut face (since cutPoints are copied first no renumbering
// ness
ec
ary)
// ne
ce
ssary)
allFaces
[
allFaceI
]
=
cutFaces
[
i
];
allOwner
[
allFaceI
]
=
mesh0
.
faceOwner
()[
mesh0FaceI
];
allNeighbour
[
allFaceI
]
=
mesh1
.
faceOwner
()[
mesh1FaceI
]
+
mesh0
.
nCells
();
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C
View file @
09141f30
...
...
@@ -1022,7 +1022,7 @@ Foam::label Foam::hexRef8::storeMidPointInfo
}
// Check if this call of storeMidPointInfo is the one that completed all
// the ness
ec
ary information.
// the ne
ce
ssary information.
if
(
changed
&&
haveTwoAnchors
&&
haveTwoFaceMids
)
{
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H
View file @
09141f30
...
...
@@ -114,7 +114,7 @@ class hexRef8
label
&
zoneFlip
)
const
;
//- Adds a face on top of existing faceI. Reverses if ness
ec
ary.
//- Adds a face on top of existing faceI. Reverses if ne
ce
ssary.
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 ness
ec
ary.
// points. Reverses if ne
ce
ssary.
void
modFace
(
polyTopoChange
&
meshMod
,
...
...
src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary - but means we can size things
// Note that this is not really ne
ce
ssary - but means we can size things
// correctly. Also makes handling coupled faces much easier.
labelList
nCellsUsingFace
(
oldFaces
.
size
(),
0
);
...
...
src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H
View file @
09141f30
...
...
@@ -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 ness
ec
ary making coupled patch
// Handles coupled patches by if ne
ce
ssary making coupled patch
// face part of patchID (so uncoupled)
void
setLargeCellSubset
(
...
...
src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubsetInterpolate.C
View file @
09141f30
...
...
@@ -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<GeometricField<Type, fvsPatchField, surfaceMesh> > fvMeshSubset::interpolate
}
// Map exposed internal faces. Note: Only ness
ec
ary if exposed faces added
// Map exposed internal faces. Note: Only ne
ce
ssary if exposed faces added
// into existing patch but since we don't know that at this point...
forAll
(
patchFields
,
patchI
)
{
...
...
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
View file @
09141f30
...
...
@@ -637,7 +637,7 @@ void Foam::autoLayerDriver::setNumLayers
Info
<<
nl
<<
"Handling points with inconsistent layer specification ..."
<<
endl
;
// Get for every point (really only ness
ec
ary on patch external points)
// Get for every point (really only ne
ce
ssary on patch external points)
// the max and min of any patch faces using it.
labelList
maxLayers
(
patchNLayers
.
size
(),
labelMin
);
labelList
minLayers
(
patchNLayers
.
size
(),
labelMax
);
...
...
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C
View file @
09141f30
...
...
@@ -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 ness
ec
ary
// Stop when no cells to refine or have done minimum ne
ce
ssary
// 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 ness
ec
ary
// Stop when no cells to refine or have done minimum ne
ce
ssary
// iterations and not enough cells to refine.
if
(
...
...
src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C
View file @
09141f30
...
...
@@ -1108,7 +1108,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::mergeBaffles
mesh_
.
setInstance
(
timeName
());
// Update intersections. Recalculate intersections on merged faces since
// this seems to give problems? Note: should not be ness
ec
ary since
// this seems to give problems? Note: should not be ne
ce
ssary since
// baffles preserve intersections from when they were created.
labelList
newExposedFaces
(
2
*
couples
.
size
());
label
newI
=
0
;
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment