CFCFaceToCellStencil.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::CFCFaceToCellStencil
28
29Description
30
31SourceFiles
32 CFCFaceToCellStencil.C
33
34\*---------------------------------------------------------------------------*/
35
36#ifndef CFCFaceToCellStencil_H
37#define CFCFaceToCellStencil_H
38
39#include "faceToCellStencil.H"
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46/*---------------------------------------------------------------------------*\
47 Class CFCFaceToCellStencil Declaration
48\*---------------------------------------------------------------------------*/
51:
53{
54 // Private Member Functions
55
56 //- Calculates per face the neighbour data (= faces of cell).
57 // Leaves out the face itself since this is already in stencil.
58 void calcFaceBoundaryData(labelListList& neiGlobal) const;
59
60 //- Calculates per cell the neighbour data
61 // (= cell or boundary in global numbering).
62 // First element is always cell itself!
63 void calcCellStencil(labelListList& globalCellFaces) const;
64
65
66public:
67
68 // Constructors
69
70 //- Construct from mesh
71 explicit CFCFaceToCellStencil(const polyMesh&);
72};
73
74
75// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76
77} // End namespace Foam
78
79// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80
81#endif
82
83// ************************************************************************* //
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring faces in glo...
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:81
Namespace for OpenFOAM.