Completed the replacement of setSet with topoSet
topoSet is a more flexible and extensible replacement for setSet using standard OpenFOAM dictionary input format rather than the limited command-line input format developed specifically for setSet. This replacement allows for the removal of a significant amount of code simplifying maintenance and the addition of more topoSet sources.
This commit is contained in:
@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
|
||||||
|
|
||||||
# Parse arguments for compilation (at least for error catching)
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
|
||||||
|
|
||||||
unset COMP_FLAGS LINK_FLAGS
|
|
||||||
|
|
||||||
# Use readline if available
|
|
||||||
if [ -f /usr/include/readline/readline.h ]
|
|
||||||
then
|
|
||||||
echo " found <readline/readline.h> -- enabling readline support."
|
|
||||||
export COMP_FLAGS="-DHAS_READLINE"
|
|
||||||
|
|
||||||
# readline may require ncurses
|
|
||||||
if [ -f /usr/include/ncurses/ncurses.h ]
|
|
||||||
then
|
|
||||||
echo " found <ncurses/ncurses.h> -- maybe required by readline."
|
|
||||||
export LINK_FLAGS="-lreadline -lncurses"
|
|
||||||
else
|
|
||||||
export LINK_FLAGS="-lreadline"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
wmake $targetType
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
setSet.C
|
|
||||||
|
|
||||||
EXE = $(FOAM_APPBIN)/setSet
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
EXE_INC = \
|
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
|
||||||
-I$(LIB_SRC)/fileFormats/lnInclude \
|
|
||||||
$(COMP_FLAGS)
|
|
||||||
|
|
||||||
EXE_LIBS = \
|
|
||||||
-lmeshTools \
|
|
||||||
-lfileFormats \
|
|
||||||
$(LINK_FLAGS)
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -27,9 +27,9 @@ Application
|
|||||||
Description
|
Description
|
||||||
Selects a section of mesh based on a cellSet.
|
Selects a section of mesh based on a cellSet.
|
||||||
|
|
||||||
The utility sub-sets the mesh to choose only a part of interest. Check
|
The utility sub-sets the mesh to choose only a part of interest. Check the
|
||||||
the setSet/cellSet/topoSet utilities to see how to select cells based on
|
cellSet/topoSet utilities to see how to select cells based on various
|
||||||
various shapes.
|
shapes.
|
||||||
|
|
||||||
The mesh will subset all points, faces and cells needed to make a sub-mesh
|
The mesh will subset all points, faces and cells needed to make a sub-mesh
|
||||||
but will not preserve attached boundary types.
|
but will not preserve attached boundary types.
|
||||||
|
|||||||
@ -42,7 +42,7 @@ cleanCase()
|
|||||||
done
|
done
|
||||||
|
|
||||||
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./logSummary.* \
|
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./logSummary.* \
|
||||||
./*.OpenFOAM ./*.blockMesh ./*.foam ./.setSet
|
./*.OpenFOAM ./*.blockMesh ./*.foam
|
||||||
|
|
||||||
for d in constant 0
|
for d in constant 0
|
||||||
do
|
do
|
||||||
|
|||||||
@ -3463,35 +3463,6 @@ _setFields_ ()
|
|||||||
}
|
}
|
||||||
complete -o filenames -o nospace -F _setFields_ setFields
|
complete -o filenames -o nospace -F _setFields_ setFields
|
||||||
|
|
||||||
_setSet_ ()
|
|
||||||
{
|
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
|
||||||
local prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
||||||
local line=${COMP_LINE}
|
|
||||||
local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ")
|
|
||||||
|
|
||||||
opts="-batch -case -constant -doc -fileHandler -help -hostRoots -latestTime -libs -loop -noFunctionObjects -noSync -noVTK -noZero -parallel -region -roots -srcDoc -time"
|
|
||||||
for o in $used ; do opts="${opts/$o/}" ; done
|
|
||||||
extra=""
|
|
||||||
|
|
||||||
[ "$COMP_CWORD" = 1 ] || \
|
|
||||||
case "$prev" in
|
|
||||||
-case)
|
|
||||||
opts="" ; extra="-d" ;;
|
|
||||||
-batch)
|
|
||||||
opts="" ; extra="-d -f" ;;
|
|
||||||
-fileHandler)
|
|
||||||
opts="uncollated collated masterUncollated" ; extra="" ;;
|
|
||||||
-time)
|
|
||||||
opts="$(foamListTimes -withZero 2> /dev/null)" ; extra="" ;;
|
|
||||||
-hostRoots|-libs|-region|-roots)
|
|
||||||
opts="" ; extra="" ;;
|
|
||||||
*) ;;
|
|
||||||
esac
|
|
||||||
COMPREPLY=( $(compgen -W "${opts}" $extra -- ${cur}) )
|
|
||||||
}
|
|
||||||
complete -o filenames -o nospace -F _setSet_ setSet
|
|
||||||
|
|
||||||
_setsToZones_ ()
|
_setsToZones_ ()
|
||||||
{
|
{
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,13 +33,8 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
defineTypeNameAndDebug(badQualityToCell, 0);
|
||||||
defineTypeNameAndDebug(badQualityToCell, 0);
|
addToRunTimeSelectionTable(topoSetSource, badQualityToCell, word);
|
||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, badQualityToCell, word);
|
|
||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, badQualityToCell, istream);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -73,7 +68,6 @@ void Foam::badQualityToCell::combine(topoSet& set, const bool add) const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from dictionary
|
|
||||||
Foam::badQualityToCell::badQualityToCell
|
Foam::badQualityToCell::badQualityToCell
|
||||||
(
|
(
|
||||||
const polyMesh& mesh,
|
const polyMesh& mesh,
|
||||||
@ -85,18 +79,6 @@ Foam::badQualityToCell::badQualityToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// Construct from Istream
|
|
||||||
Foam::badQualityToCell::badQualityToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
dict_(is)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::badQualityToCell::~badQualityToCell()
|
Foam::badQualityToCell::~badQualityToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -80,13 +80,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
badQualityToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~badQualityToCell();
|
virtual ~badQualityToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,13 +33,8 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
defineTypeNameAndDebug(badQualityToFace, 0);
|
||||||
defineTypeNameAndDebug(badQualityToFace, 0);
|
addToRunTimeSelectionTable(topoSetSource, badQualityToFace, word);
|
||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, badQualityToFace, word);
|
|
||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, badQualityToFace, istream);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -69,7 +64,6 @@ void Foam::badQualityToFace::combine(topoSet& set, const bool add) const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from dictionary
|
|
||||||
Foam::badQualityToFace::badQualityToFace
|
Foam::badQualityToFace::badQualityToFace
|
||||||
(
|
(
|
||||||
const polyMesh& mesh,
|
const polyMesh& mesh,
|
||||||
@ -81,18 +75,6 @@ Foam::badQualityToFace::badQualityToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// Construct from Istream
|
|
||||||
Foam::badQualityToFace::badQualityToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
dict_(is)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::badQualityToFace::~badQualityToFace()
|
Foam::badQualityToFace::~badQualityToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -80,13 +80,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
badQualityToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~badQualityToFace();
|
virtual ~badQualityToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(boxToCell, 0);
|
defineTypeNameAndDebug(boxToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, boxToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -94,17 +93,6 @@ Foam::boxToCell::boxToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::boxToCell::boxToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
bbs_(1, treeBoundBox(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::boxToCell::~boxToCell()
|
Foam::boxToCell::~boxToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
boxToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~boxToCell();
|
virtual ~boxToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cellToCell, 0);
|
defineTypeNameAndDebug(cellToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, cellToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::cellToCell::cellToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cellToCell::cellToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cellToCell::~cellToCell()
|
Foam::cellToCell::~cellToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cellToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~cellToCell();
|
virtual ~cellToCell();
|
||||||
|
|||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cylinderAnnulusToCell, 0);
|
defineTypeNameAndDebug(cylinderAnnulusToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -107,20 +106,6 @@ Foam::cylinderAnnulusToCell::cylinderAnnulusToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylinderAnnulusToCell::cylinderAnnulusToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
point1_(checkIs(is)),
|
|
||||||
point2_(checkIs(is)),
|
|
||||||
outerRadius_(readScalar(checkIs(is))),
|
|
||||||
innerRadius_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cylinderAnnulusToCell::~cylinderAnnulusToCell()
|
Foam::cylinderAnnulusToCell::~cylinderAnnulusToCell()
|
||||||
|
|||||||
@ -100,17 +100,11 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cylinderAnnulusToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
virtual ~cylinderAnnulusToCell();
|
virtual ~cylinderAnnulusToCell();
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
virtual sourceType setType() const
|
virtual sourceType setType() const
|
||||||
|
|||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cylinderToCell, 0);
|
defineTypeNameAndDebug(cylinderToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, cylinderToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -103,19 +102,6 @@ Foam::cylinderToCell::cylinderToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylinderToCell::cylinderToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
point1_(checkIs(is)),
|
|
||||||
point2_(checkIs(is)),
|
|
||||||
radius_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cylinderToCell::~cylinderToCell()
|
Foam::cylinderToCell::~cylinderToCell()
|
||||||
|
|||||||
@ -95,13 +95,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cylinderToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~cylinderToCell();
|
virtual ~cylinderToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(faceToCell, 0);
|
defineTypeNameAndDebug(faceToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, faceToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToCell, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -176,18 +175,6 @@ Foam::faceToCell::faceToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::faceToCell::faceToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(faceActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::faceToCell::~faceToCell()
|
Foam::faceToCell::~faceToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -105,13 +105,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
faceToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~faceToCell();
|
virtual ~faceToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(faceZoneToCell, 0);
|
defineTypeNameAndDebug(faceZoneToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceZoneToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, faceZoneToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceZoneToCell, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -133,18 +132,6 @@ Foam::faceZoneToCell::faceZoneToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::faceZoneToCell::faceZoneToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
zoneName_(checkIs(is)),
|
|
||||||
option_(faceActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::faceZoneToCell::~faceZoneToCell()
|
Foam::faceZoneToCell::~faceZoneToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -102,13 +102,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
faceZoneToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~faceZoneToCell();
|
virtual ~faceZoneToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,7 +38,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(fieldToCell, 0);
|
defineTypeNameAndDebug(fieldToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -121,19 +120,6 @@ Foam::fieldToCell::fieldToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::fieldToCell::fieldToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
fieldName_(checkIs(is)),
|
|
||||||
min_(readScalar(checkIs(is))),
|
|
||||||
max_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::fieldToCell::~fieldToCell()
|
Foam::fieldToCell::~fieldToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,13 +101,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
fieldToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~fieldToCell();
|
virtual ~fieldToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(labelToCell, 0);
|
defineTypeNameAndDebug(labelToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, labelToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,17 +79,6 @@ Foam::labelToCell::labelToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::labelToCell::labelToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
labels_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::labelToCell::~labelToCell()
|
Foam::labelToCell::~labelToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
labelToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~labelToCell();
|
virtual ~labelToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(nbrToCell, 0);
|
defineTypeNameAndDebug(nbrToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nbrToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, nbrToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nbrToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -121,17 +120,6 @@ Foam::nbrToCell::nbrToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::nbrToCell::nbrToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
minNbrs_(readLabel(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::nbrToCell::~nbrToCell()
|
Foam::nbrToCell::~nbrToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
nbrToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~nbrToCell();
|
virtual ~nbrToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(nearestToCell, 0);
|
defineTypeNameAndDebug(nearestToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nearestToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, nearestToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nearestToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,17 +79,6 @@ Foam::nearestToCell::nearestToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::nearestToCell::nearestToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
points_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::nearestToCell::~nearestToCell()
|
Foam::nearestToCell::~nearestToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
nearestToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~nearestToCell();
|
virtual ~nearestToCell();
|
||||||
|
|||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(patchDistanceToCell, 0);
|
defineTypeNameAndDebug(patchDistanceToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, patchDistanceToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, patchDistanceToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, patchDistanceToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(pointToCell, 0);
|
defineTypeNameAndDebug(pointToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, pointToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToCell, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -133,18 +132,6 @@ Foam::pointToCell::pointToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pointToCell::pointToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(pointActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::pointToCell::~pointToCell()
|
Foam::pointToCell::~pointToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -102,13 +102,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
pointToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~pointToCell();
|
virtual ~pointToCell();
|
||||||
|
|||||||
@ -36,7 +36,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(regionToCell, 0);
|
defineTypeNameAndDebug(regionToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, regionToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, regionToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, regionToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -410,19 +409,6 @@ Foam::regionToCell::regionToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::regionToCell::regionToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
insidePoints_(checkIs(is)),
|
|
||||||
nErode_(0)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::regionToCell::~regionToCell()
|
Foam::regionToCell::~regionToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -132,13 +132,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
regionToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~regionToCell();
|
virtual ~regionToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(rotatedBoxToCell, 0);
|
defineTypeNameAndDebug(rotatedBoxToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, rotatedBoxToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, rotatedBoxToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, rotatedBoxToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(shapeToCell, 0);
|
defineTypeNameAndDebug(shapeToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, shapeToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, shapeToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, shapeToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -122,22 +121,6 @@ Foam::shapeToCell::shapeToCell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::shapeToCell::shapeToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
type_(checkIs(is))
|
|
||||||
{
|
|
||||||
if (!cellModeller::lookup(type_) && (type_ != "splitHex"))
|
|
||||||
{
|
|
||||||
FatalErrorInFunction
|
|
||||||
<< "Illegal cell type " << type_ << exit(FatalError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::shapeToCell::~shapeToCell()
|
Foam::shapeToCell::~shapeToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -95,13 +95,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
shapeToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~shapeToCell();
|
virtual ~shapeToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(sphereToCell, 0);
|
defineTypeNameAndDebug(sphereToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, sphereToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, sphereToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, sphereToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -91,18 +90,6 @@ Foam::sphereToCell::sphereToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::sphereToCell::sphereToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
centre_(checkIs(is)),
|
|
||||||
radius_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::sphereToCell::~sphereToCell()
|
Foam::sphereToCell::~sphereToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -91,13 +91,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
sphereToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~sphereToCell();
|
virtual ~sphereToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(surfaceToCell, 0);
|
defineTypeNameAndDebug(surfaceToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, surfaceToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, surfaceToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, surfaceToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -443,29 +442,6 @@ Foam::surfaceToCell::surfaceToCell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::surfaceToCell::surfaceToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
surfName_(checkIs(is)),
|
|
||||||
outsidePoints_(checkIs(is)),
|
|
||||||
includeCut_(readBool(checkIs(is))),
|
|
||||||
includeInside_(readBool(checkIs(is))),
|
|
||||||
includeOutside_(readBool(checkIs(is))),
|
|
||||||
useSurfaceOrientation_(false),
|
|
||||||
nearDist_(readScalar(checkIs(is))),
|
|
||||||
curvature_(readScalar(checkIs(is))),
|
|
||||||
surfPtr_(new triSurface(surfName_)),
|
|
||||||
querySurfPtr_(new triSurfaceSearch(*surfPtr_)),
|
|
||||||
IOwnPtrs_(true)
|
|
||||||
{
|
|
||||||
checkSettings();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::surfaceToCell::~surfaceToCell()
|
Foam::surfaceToCell::~surfaceToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -189,13 +189,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
surfaceToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~surfaceToCell();
|
virtual ~surfaceToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(targetVolumeToCell, 0);
|
defineTypeNameAndDebug(targetVolumeToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, targetVolumeToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, targetVolumeToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, targetVolumeToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -289,17 +288,6 @@ Foam::targetVolumeToCell::targetVolumeToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::targetVolumeToCell::targetVolumeToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
vol_(readScalar(checkIs(is))),
|
|
||||||
n_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::targetVolumeToCell::~targetVolumeToCell()
|
Foam::targetVolumeToCell::~targetVolumeToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -104,13 +104,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
targetVolumeToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~targetVolumeToCell();
|
virtual ~targetVolumeToCell();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(zoneToCell, 0);
|
defineTypeNameAndDebug(zoneToCell, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToCell, word);
|
addToRunTimeSelectionTable(topoSetSource, zoneToCell, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToCell, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -110,17 +109,6 @@ Foam::zoneToCell::zoneToCell
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::zoneToCell::zoneToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
zoneName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::zoneToCell::~zoneToCell()
|
Foam::zoneToCell::~zoneToCell()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
zoneToCell
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~zoneToCell();
|
virtual ~zoneToCell();
|
||||||
|
|||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(setToCellZone, 0);
|
defineTypeNameAndDebug(setToCellZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToCellZone, word);
|
addToRunTimeSelectionTable(topoSetSource, setToCellZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToCellZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::setToCellZone::setToCellZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::setToCellZone::setToCellZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::setToCellZone::~setToCellZone()
|
Foam::setToCellZone::~setToCellZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
setToCellZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~setToCellZone();
|
virtual ~setToCellZone();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(boundaryToFace, 0);
|
defineTypeNameAndDebug(boundaryToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boundaryToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, boundaryToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boundaryToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(boxToFace, 0);
|
defineTypeNameAndDebug(boxToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, boxToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -94,17 +93,6 @@ Foam::boxToFace::boxToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::boxToFace::boxToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
bbs_(1, treeBoundBox(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::boxToFace::~boxToFace()
|
Foam::boxToFace::~boxToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
boxToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~boxToFace();
|
virtual ~boxToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cellToFace, 0);
|
defineTypeNameAndDebug(cellToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, cellToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToFace, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -180,18 +179,6 @@ Foam::cellToFace::cellToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cellToFace::cellToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(cellActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cellToFace::~cellToFace()
|
Foam::cellToFace::~cellToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -106,13 +106,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cellToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~cellToFace();
|
virtual ~cellToFace();
|
||||||
|
|||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cylinderAnnulusToFace, 0);
|
defineTypeNameAndDebug(cylinderAnnulusToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderAnnulusToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -107,20 +106,6 @@ Foam::cylinderAnnulusToFace::cylinderAnnulusToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylinderAnnulusToFace::cylinderAnnulusToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
point1_(checkIs(is)),
|
|
||||||
point2_(checkIs(is)),
|
|
||||||
outerRadius_(readScalar(checkIs(is))),
|
|
||||||
innerRadius_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cylinderAnnulusToFace::~cylinderAnnulusToFace()
|
Foam::cylinderAnnulusToFace::~cylinderAnnulusToFace()
|
||||||
|
|||||||
@ -100,17 +100,11 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cylinderAnnulusToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
virtual ~cylinderAnnulusToFace();
|
virtual ~cylinderAnnulusToFace();
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
virtual sourceType setType() const
|
virtual sourceType setType() const
|
||||||
|
|||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cylinderToFace, 0);
|
defineTypeNameAndDebug(cylinderToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, cylinderToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cylinderToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -103,19 +102,6 @@ Foam::cylinderToFace::cylinderToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylinderToFace::cylinderToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
point1_(checkIs(is)),
|
|
||||||
point2_(checkIs(is)),
|
|
||||||
radius_(readScalar(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cylinderToFace::~cylinderToFace()
|
Foam::cylinderToFace::~cylinderToFace()
|
||||||
|
|||||||
@ -95,13 +95,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cylinderToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~cylinderToFace();
|
virtual ~cylinderToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(faceToFace, 0);
|
defineTypeNameAndDebug(faceToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, faceToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::faceToFace::faceToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::faceToFace::faceToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::faceToFace::~faceToFace()
|
Foam::faceToFace::~faceToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
faceToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~faceToFace();
|
virtual ~faceToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(labelToFace, 0);
|
defineTypeNameAndDebug(labelToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, labelToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,17 +79,6 @@ Foam::labelToFace::labelToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::labelToFace::labelToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
labels_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::labelToFace::~labelToFace()
|
Foam::labelToFace::~labelToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
labelToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~labelToFace();
|
virtual ~labelToFace();
|
||||||
|
|||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(normalToFace, 0);
|
defineTypeNameAndDebug(normalToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, normalToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, normalToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, normalToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -91,16 +90,6 @@ Foam::normalToFace::normalToFace(const polyMesh& mesh, const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::normalToFace::normalToFace(const polyMesh& mesh, Istream& is)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
normal_(checkIs(is)),
|
|
||||||
tol_(readScalar(checkIs(is)))
|
|
||||||
{
|
|
||||||
setNormal();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::normalToFace::~normalToFace()
|
Foam::normalToFace::~normalToFace()
|
||||||
|
|||||||
@ -88,9 +88,6 @@ public:
|
|||||||
//- Construct from dictionary
|
//- Construct from dictionary
|
||||||
normalToFace(const polyMesh& mesh, const dictionary& dict);
|
normalToFace(const polyMesh& mesh, const dictionary& dict);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
normalToFace(const polyMesh& mesh, Istream&);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~normalToFace();
|
virtual ~normalToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(patchToFace, 0);
|
defineTypeNameAndDebug(patchToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, patchToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, patchToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, patchToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -110,17 +109,6 @@ Foam::patchToFace::patchToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::patchToFace::patchToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
patchName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::patchToFace::~patchToFace()
|
Foam::patchToFace::~patchToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
patchToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~patchToFace();
|
virtual ~patchToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(pointToFace, 0);
|
defineTypeNameAndDebug(pointToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, pointToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToFace, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -174,18 +173,6 @@ Foam::pointToFace::pointToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pointToFace::pointToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(pointActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::pointToFace::~pointToFace()
|
Foam::pointToFace::~pointToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -105,13 +105,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
pointToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~pointToFace();
|
virtual ~pointToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,7 +39,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(regionToFace, 0);
|
defineTypeNameAndDebug(regionToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, regionToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, regionToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, regionToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -197,18 +196,6 @@ Foam::regionToFace::regionToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::regionToFace::regionToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
nearPoint_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::regionToFace::~regionToFace()
|
Foam::regionToFace::~regionToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -100,13 +100,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
regionToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~regionToFace();
|
virtual ~regionToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(zoneToFace, 0);
|
defineTypeNameAndDebug(zoneToFace, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToFace, word);
|
addToRunTimeSelectionTable(topoSetSource, zoneToFace, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToFace, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -110,17 +109,6 @@ Foam::zoneToFace::zoneToFace
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::zoneToFace::zoneToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
zoneName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::zoneToFace::~zoneToFace()
|
Foam::zoneToFace::~zoneToFace()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
zoneToFace
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~zoneToFace();
|
virtual ~zoneToFace();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(faceZoneToFaceZone, 0);
|
defineTypeNameAndDebug(faceZoneToFaceZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceZoneToFaceZone, word);
|
addToRunTimeSelectionTable(topoSetSource, faceZoneToFaceZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceZoneToFaceZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::faceZoneToFaceZone::faceZoneToFaceZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::faceZoneToFaceZone::faceZoneToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::faceZoneToFaceZone::~faceZoneToFaceZone()
|
Foam::faceZoneToFaceZone::~faceZoneToFaceZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
faceZoneToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~faceZoneToFaceZone();
|
virtual ~faceZoneToFaceZone();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -51,7 +51,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(planeToFaceZone, 0);
|
defineTypeNameAndDebug(planeToFaceZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, planeToFaceZone, word);
|
addToRunTimeSelectionTable(topoSetSource, planeToFaceZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, planeToFaceZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -369,19 +368,6 @@ Foam::planeToFaceZone::planeToFaceZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::planeToFaceZone::planeToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
point_(checkIs(is)),
|
|
||||||
normal_(checkIs(is)),
|
|
||||||
include_(includeNames_[word(checkIs(is))])
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::planeToFaceZone::~planeToFaceZone()
|
Foam::planeToFaceZone::~planeToFaceZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -109,13 +109,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
planeToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~planeToFaceZone();
|
virtual ~planeToFaceZone();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,7 +38,6 @@ defineTypeNameAndDebug(setAndNormalToFaceZone, 0);
|
|||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, setAndNormalToFaceZone, word);
|
addToRunTimeSelectionTable(topoSetSource, setAndNormalToFaceZone, word);
|
||||||
|
|
||||||
addToRunTimeSelectionTable(topoSetSource, setAndNormalToFaceZone, istream);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,18 +77,6 @@ Foam::setAndNormalToFaceZone::setAndNormalToFaceZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::setAndNormalToFaceZone::setAndNormalToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
normal_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::setAndNormalToFaceZone::~setAndNormalToFaceZone()
|
Foam::setAndNormalToFaceZone::~setAndNormalToFaceZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -85,13 +85,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
setAndNormalToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~setAndNormalToFaceZone();
|
virtual ~setAndNormalToFaceZone();
|
||||||
|
|||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(setToFaceZone, 0);
|
defineTypeNameAndDebug(setToFaceZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToFaceZone, word);
|
addToRunTimeSelectionTable(topoSetSource, setToFaceZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToFaceZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -71,17 +70,6 @@ Foam::setToFaceZone::setToFaceZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::setToFaceZone::setToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::setToFaceZone::~setToFaceZone()
|
Foam::setToFaceZone::~setToFaceZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -80,13 +80,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
setToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~setToFaceZone();
|
virtual ~setToFaceZone();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(setsToFaceZone, 0);
|
defineTypeNameAndDebug(setsToFaceZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setsToFaceZone, word);
|
addToRunTimeSelectionTable(topoSetSource, setsToFaceZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setsToFaceZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -79,19 +78,6 @@ Foam::setsToFaceZone::setsToFaceZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::setsToFaceZone::setsToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
faceSetName_(checkIs(is)),
|
|
||||||
cellSetName_(checkIs(is)),
|
|
||||||
flip_(false)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::setsToFaceZone::~setsToFaceZone()
|
Foam::setsToFaceZone::~setsToFaceZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -88,13 +88,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
setsToFaceZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~setsToFaceZone();
|
virtual ~setsToFaceZone();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(boxToPoint, 0);
|
defineTypeNameAndDebug(boxToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, boxToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, boxToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -93,17 +92,6 @@ Foam::boxToPoint::boxToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::boxToPoint::boxToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
bbs_(1, treeBoundBox(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::boxToPoint::~boxToPoint()
|
Foam::boxToPoint::~boxToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
boxToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~boxToPoint();
|
virtual ~boxToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(cellToPoint, 0);
|
defineTypeNameAndDebug(cellToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, cellToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, cellToPoint, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -112,18 +111,6 @@ Foam::cellToPoint::cellToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cellToPoint::cellToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(cellActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::cellToPoint::~cellToPoint()
|
Foam::cellToPoint::~cellToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,13 +101,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
cellToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~cellToPoint();
|
virtual ~cellToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(faceToPoint, 0);
|
defineTypeNameAndDebug(faceToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, faceToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, faceToPoint, istream);
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char* Foam::NamedEnum
|
const char* Foam::NamedEnum
|
||||||
@ -106,18 +105,6 @@ Foam::faceToPoint::faceToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::faceToPoint::faceToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is)),
|
|
||||||
option_(faceActionNames_.read(checkIs(is)))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::faceToPoint::~faceToPoint()
|
Foam::faceToPoint::~faceToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,13 +101,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
faceToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~faceToPoint();
|
virtual ~faceToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(labelToPoint, 0);
|
defineTypeNameAndDebug(labelToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, labelToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, labelToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,17 +79,6 @@ Foam::labelToPoint::labelToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::labelToPoint::labelToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
labels_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::labelToPoint::~labelToPoint()
|
Foam::labelToPoint::~labelToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
labelToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~labelToPoint();
|
virtual ~labelToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(nearestToPoint, 0);
|
defineTypeNameAndDebug(nearestToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nearestToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, nearestToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, nearestToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -101,17 +100,6 @@ Foam::nearestToPoint::nearestToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::nearestToPoint::nearestToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
points_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::nearestToPoint::~nearestToPoint()
|
Foam::nearestToPoint::~nearestToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,13 +86,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
nearestToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~nearestToPoint();
|
virtual ~nearestToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(pointToPoint, 0);
|
defineTypeNameAndDebug(pointToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, pointToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, pointToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::pointToPoint::pointToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pointToPoint::pointToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::pointToPoint::~pointToPoint()
|
Foam::pointToPoint::~pointToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
pointToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~pointToPoint();
|
virtual ~pointToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(surfaceToPoint, 0);
|
defineTypeNameAndDebug(surfaceToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, surfaceToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, surfaceToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, surfaceToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -155,22 +154,6 @@ Foam::surfaceToPoint::surfaceToPoint
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::surfaceToPoint::surfaceToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
surfName_(checkIs(is)),
|
|
||||||
nearDist_(readScalar(checkIs(is))),
|
|
||||||
includeInside_(readBool(checkIs(is))),
|
|
||||||
includeOutside_(readBool(checkIs(is)))
|
|
||||||
{
|
|
||||||
checkSettings();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::surfaceToPoint::~surfaceToPoint()
|
Foam::surfaceToPoint::~surfaceToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -109,13 +109,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
surfaceToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~surfaceToPoint();
|
virtual ~surfaceToPoint();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(zoneToPoint, 0);
|
defineTypeNameAndDebug(zoneToPoint, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToPoint, word);
|
addToRunTimeSelectionTable(topoSetSource, zoneToPoint, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, zoneToPoint, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -111,17 +110,6 @@ Foam::zoneToPoint::zoneToPoint
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::zoneToPoint::zoneToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
zoneName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::zoneToPoint::~zoneToPoint()
|
Foam::zoneToPoint::~zoneToPoint()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,13 +87,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
zoneToPoint
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~zoneToPoint();
|
virtual ~zoneToPoint();
|
||||||
|
|||||||
@ -34,7 +34,6 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(setToPointZone, 0);
|
defineTypeNameAndDebug(setToPointZone, 0);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToPointZone, word);
|
addToRunTimeSelectionTable(topoSetSource, setToPointZone, word);
|
||||||
addToRunTimeSelectionTable(topoSetSource, setToPointZone, istream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -70,17 +69,6 @@ Foam::setToPointZone::setToPointZone
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::setToPointZone::setToPointZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream& is
|
|
||||||
)
|
|
||||||
:
|
|
||||||
topoSetSource(mesh),
|
|
||||||
setName_(checkIs(is))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::setToPointZone::~setToPointZone()
|
Foam::setToPointZone::~setToPointZone()
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,13 +79,6 @@ public:
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from Istream
|
|
||||||
setToPointZone
|
|
||||||
(
|
|
||||||
const polyMesh& mesh,
|
|
||||||
Istream&
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~setToPointZone();
|
virtual ~setToPointZone();
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user