Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
d36522e6
Commit
d36522e6
authored
Oct 13, 2015
by
mattijs
Browse files
BUG: surfaceToPoint: read nErode from Istream
parent
6aab56a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/meshTools/sets/cellSources/regionToCell/regionToCell.C
View file @
d36522e6
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2015 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -47,7 +47,7 @@ addToRunTimeSelectionTable(topoSetSource, regionToCell, istream);
Foam
::
topoSetSource
::
addToUsageTable
Foam
::
regionToCell
::
usage_
(
regionToCell
::
typeName
,
"
\n
Usage: regionToCell subCellSet (pt0 .. ptn)
\n\n
"
"
\n
Usage: regionToCell subCellSet (pt0 .. ptn)
nErode
\n\n
"
" Select all cells in the connected region containing"
" points (pt0..ptn).
\n
"
);
...
...
@@ -433,7 +433,7 @@ Foam::regionToCell::regionToCell
topoSetSource
(
mesh
),
setName_
(
checkIs
(
is
)),
insidePoints_
(
checkIs
(
is
)),
nErode_
(
0
)
nErode_
(
readLabel
(
checkIs
(
is
))
)
{}
...
...
src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.H
View file @
d36522e6
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2015 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -65,16 +65,16 @@ class surfaceToPoint
static
addToUsageTable
usage_
;
//- Name of surface file
fileName
surfName_
;
const
fileName
surfName_
;
//- If > 0 : include points with distance to surface less than nearDist.
scalar
nearDist_
;
const
scalar
nearDist_
;
//- Include all points on opposite sign of normal on nearest surface.
bool
includeInside_
;
const
bool
includeInside_
;
//- Include all points on this sign of normal on nearest surface.
bool
includeOutside_
;
const
bool
includeOutside_
;
// Private Member Functions
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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