mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
The use of the term 'source' in the context of post-processing is confusing and does not properly describe the process of region selection. The new names 'surfaceRegion' and 'volRegion' better describe the purpose of the functionObjects which is to provide field processing functionality limited to a specified region of space, either a surface or volume. The keyword 'source' is renamed 'regionType' which better describes the purpose which is to specify the method by which the surface or volume region is selected. The keyword to select the name of the surface or volume region is renamed from 'sourceName' to 'name' consistent with the other name-changes above.
59 lines
1.9 KiB
C
59 lines
1.9 KiB
C
/*---------------------------------------------------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
License
|
|
This file is part of OpenFOAM.
|
|
|
|
OpenFOAM is free software: you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#include "surfaceRegion.H"
|
|
|
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
|
|
inline const Foam::functionObjects::fieldValues::surfaceRegion::regionTypes&
|
|
Foam::functionObjects::fieldValues::surfaceRegion::regionType() const
|
|
{
|
|
return regionType_;
|
|
}
|
|
|
|
|
|
inline const Foam::labelList&
|
|
Foam::functionObjects::fieldValues::surfaceRegion::faceId() const
|
|
{
|
|
return faceId_;
|
|
}
|
|
|
|
|
|
inline const Foam::labelList&
|
|
Foam::functionObjects::fieldValues::surfaceRegion::facePatch() const
|
|
{
|
|
return facePatchId_;
|
|
}
|
|
|
|
|
|
inline const Foam::labelList&
|
|
Foam::functionObjects::fieldValues::surfaceRegion::faceSign() const
|
|
{
|
|
return faceSign_;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|