wallLayerCells.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2016 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::wallLayerCells
28
29Description
30 After construction is a list of <refineCell> of cells within a certain
31 distance to the wall and with the wall normal direction.
32
33SourceFiles
34 wallLayerCells.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef wallLayerCells_H
39#define wallLayerCells_H
40
41#include "edgeVertex.H"
42#include "refineCell.H"
43#include "typeInfo.H"
44
45
46// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48namespace Foam
49{
50
51/*---------------------------------------------------------------------------*\
52 Class wallLayerCells Declaration
53\*---------------------------------------------------------------------------*/
56:
57 public edgeVertex,
58 public List<refineCell>
59{
60 // Private Member Functions
61
62 //- Check if any of the faces of celli is on processorPatch
63 bool usesCoupledPatch(const label celli) const;
64
65public:
66
67 //- Runtime type information
68 ClassName("wallLayerCells");
69
70
71 // Constructors
72
73 //- Construct from components
75 (
76 const polyMesh& mesh,
78 const label nLayers
79 );
80};
81
82
83// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84
85} // End namespace Foam
86
87// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88
89#endif
90
91// ************************************************************************* //
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: List.H:77
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
Definition: edgeVertex.H:56
const polyMesh & mesh() const
Definition: edgeVertex.H:101
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:81
After construction is a list of <refineCell> of cells within a certain distance to the wall and with ...
ClassName("wallLayerCells")
Runtime type information.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Definition: className.H:67
Namespace for OpenFOAM.
wordList patchNames(nPatches)