All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
facePointPatch.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "facePointPatch.H"
27 #include "pointBoundaryMesh.H"
28 #include "pointMesh.H"
29 #include "demandDrivenData.H"
30 #include "boolList.H"
32 
33 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
34 
35 namespace Foam
36 {
37 
38 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
39 
40 defineTypeNameAndDebug(facePointPatch, 0);
41 defineRunTimeSelectionTable(facePointPatch, polyPatch);
42 
44 (
45  facePointPatch,
46  facePointPatch,
47  polyPatch
48 );
49 
50 
51 // * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //
52 
54 {}
55 
56 
58 {}
59 
60 
62 {}
63 
64 
66 {}
67 
68 
70 {
72 }
73 
74 
76 {}
77 
78 
79 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
80 
82 (
83  const polyPatch& p,
84  const pointBoundaryMesh& bm
85 )
86 :
87  pointPatch(bm),
88  polyPatch_(p)
89 {}
90 
91 
92 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
93 
94 } // End namespace Foam
95 
96 // ************************************************************************* //
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
Foam::pointBoundaryMesh.
const polyPatch & polyPatch_
Reference to the underlying polyPatch.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
Macros for easy insertion into run-time selection tables.
facePointPatch(const polyPatch &, const pointBoundaryMesh &)
Construct from polyPatch.
pointPatch(const pointBoundaryMesh &bm)
Definition: pointPatch.H:105
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Template functions to aid in the implementation of demand driven data.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
volScalarField & p
A patch is a list of labels that address the faces in the global face list.
Definition: polyPatch.H:66
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual void initCalcGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
Namespace for OpenFOAM.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.