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
51b8a736
Commit
51b8a736
authored
Oct 19, 2010
by
mattijs
Browse files
ENH: MeshWave: allow 1 cells cases.
parent
a5ee1669
Changes
9
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/advanced/selectCells/selectCells.C
View file @
51b8a736
...
...
@@ -298,7 +298,7 @@ label selectOutsideCells
mesh
,
outsideFaces
.
shrink
(),
outsideFacesInfo
.
shrink
(),
mesh
.
n
Cells
()
// max iterations
mesh
.
globalData
().
nTotal
Cells
()
+
1
// max iterations
);
// Now regionCalc should hold info on cells that are reachable from
...
...
src/dynamicMesh/meshCut/directions/directions.C
View file @
51b8a736
...
...
@@ -32,6 +32,7 @@ License
#include "meshTools.H"
#include "hexMatcher.H"
#include "Switch.H"
#include "globalMeshData.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
...
...
@@ -206,7 +207,7 @@ Foam::vectorField Foam::directions::propagateDirection
mesh
,
changedFaces
,
changedFacesInfo
,
mesh
.
n
Cells
()
mesh
.
globalData
().
nTotal
Cells
()
+
1
);
const
List
<
directionInfo
>&
cellInfo
=
directionCalc
.
allCellInfo
();
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C
View file @
51b8a736
...
...
@@ -2332,7 +2332,7 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement
seedFacesInfo
.
clear
();
// Iterate until no change. Now 2:1 face difference should be satisfied
levelCalc
.
iterate
(
mesh_
.
globalData
().
nTotalFaces
());
levelCalc
.
iterate
(
mesh_
.
globalData
().
nTotalFaces
()
+
1
);
// Now check point-connected cells (face-connected cells already ok):
...
...
@@ -2836,7 +2836,7 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement2
seedFacesInfo
,
allFaceInfo
,
allCellInfo
,
mesh_
.
globalData
().
nTotalCells
()
mesh_
.
globalData
().
nTotalCells
()
+
1
);
...
...
src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.C
View file @
51b8a736
...
...
@@ -115,7 +115,7 @@ void Foam::inverseFaceDistanceDiffusivity::correct()
mesh
,
changedFaces
,
faceDist
,
mesh
.
globalData
().
nTotalCells
()
// max iterations
mesh
.
globalData
().
nTotalCells
()
+
1
// max iterations
);
const
List
<
wallPoint
>&
faceInfo
=
waveInfo
.
allFaceInfo
();
...
...
src/meshTools/cellClassification/cellClassification.C
View file @
51b8a736
...
...
@@ -322,7 +322,7 @@ void Foam::cellClassification::markCells
changedFaces
,
// Labels of changed faces
changedFacesInfo
,
// Information on changed faces
cellInfoList
,
// Information on all cells
mesh_
.
globalData
().
nTotalCells
()
// max iterations
mesh_
.
globalData
().
nTotalCells
()
+
1
// max iterations
);
// Get information out of cellInfoList
...
...
src/meshTools/cellDist/patchWave/patchDataWave.C
View file @
51b8a736
...
...
@@ -225,7 +225,7 @@ void Foam::patchDataWave<TransferType>::correct()
mesh
(),
changedFaces
,
faceDist
,
mesh
().
globalData
().
nTotalCells
()
// max iterations
mesh
().
globalData
().
nTotalCells
()
+
1
// max iterations
);
...
...
src/meshTools/cellDist/patchWave/patchWave.C
View file @
51b8a736
...
...
@@ -186,7 +186,7 @@ void Foam::patchWave::correct()
mesh
(),
changedFaces
,
faceDist
,
mesh
().
globalData
().
nTotalCells
()
// max iterations
mesh
().
globalData
().
nTotalCells
()
+
1
// max iterations
);
...
...
src/parallel/decompose/decompositionMethods/structuredDecomp/structuredDecomp.C
View file @
51b8a736
...
...
@@ -148,7 +148,7 @@ Foam::labelList Foam::structuredDecomp::decompose
patchData
,
faceData
,
cellData
,
mesh
.
globalData
().
nTotalCells
()
mesh
.
globalData
().
nTotalCells
()
+
1
);
// And extract
...
...
src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C
View file @
51b8a736
...
...
@@ -137,7 +137,7 @@ void smoothDelta::calcDelta()
changedFacesInfo
,
faceDeltaData
,
cellDeltaData
,
mesh_
.
globalData
().
nTotalCells
()
// max iterations
mesh_
.
globalData
().
nTotalCells
()
+
1
// max iterations
);
forAll
(
delta_
,
cellI
)
...
...
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