mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: surfaceToPoint: read nErode from Istream
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -47,7 +47,7 @@ addToRunTimeSelectionTable(topoSetSource, regionToCell, istream);
|
|||||||
Foam::topoSetSource::addToUsageTable Foam::regionToCell::usage_
|
Foam::topoSetSource::addToUsageTable Foam::regionToCell::usage_
|
||||||
(
|
(
|
||||||
regionToCell::typeName,
|
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"
|
" Select all cells in the connected region containing"
|
||||||
" points (pt0..ptn).\n"
|
" points (pt0..ptn).\n"
|
||||||
);
|
);
|
||||||
@ -433,7 +433,7 @@ Foam::regionToCell::regionToCell
|
|||||||
topoSetSource(mesh),
|
topoSetSource(mesh),
|
||||||
setName_(checkIs(is)),
|
setName_(checkIs(is)),
|
||||||
insidePoints_(checkIs(is)),
|
insidePoints_(checkIs(is)),
|
||||||
nErode_(0)
|
nErode_(readLabel(checkIs(is)))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -65,16 +65,16 @@ class surfaceToPoint
|
|||||||
static addToUsageTable usage_;
|
static addToUsageTable usage_;
|
||||||
|
|
||||||
//- Name of surface file
|
//- Name of surface file
|
||||||
fileName surfName_;
|
const fileName surfName_;
|
||||||
|
|
||||||
//- If > 0 : include points with distance to surface less than nearDist.
|
//- 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.
|
//- 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.
|
//- Include all points on this sign of normal on nearest surface.
|
||||||
bool includeOutside_;
|
const bool includeOutside_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user