cyclicAMIPointPatch.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2011-2015 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 "cyclicAMIPointPatch.H"
27 #include "pointBoundaryMesh.H"
29 
30 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
31 
32 namespace Foam
33 {
34  defineTypeNameAndDebug(cyclicAMIPointPatch, 0);
36  (
37  facePointPatch,
38  cyclicAMIPointPatch,
39  polyPatch
40  );
42  (
43  facePointPatch,
44  cyclicAMIPointPatch,
45  polyPatch,
46  cyclicPeriodicAMI
47  );
48 }
49 
50 
51 // * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //
52 
54 {}
55 
56 
58 {}
59 
60 
62 (
64  const pointField&
65 )
66 {}
67 
68 
70 {}
71 
72 
74 {
76 // cyclicAMIPointPatch::initGeometry(pBufs);
77 }
78 
79 
81 {
83 // cyclicAMIPointPatch::calcGeometry(pBufs);
84 }
85 
86 
87 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
88 
90 (
91  const polyPatch& patch,
92  const pointBoundaryMesh& bm
93 )
94 :
95  coupledFacePointPatch(patch, bm),
96  cyclicAMIPolyPatch_(refCast<const cyclicAMIPolyPatch>(patch))
97 {}
98 
99 
100 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
101 
103 {}
104 
105 
106 // ************************************************************************* //
Foam::facePointPatch::initUpdateMesh
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
Definition: facePointPatch.C:69
Foam::addNamedToRunTimeSelectionTable
addNamedToRunTimeSelectionTable(fvPatch, cyclicAMIFvPatch, polyPatch, cyclicPeriodicAMI)
Foam::cyclicAMIPointPatch::initUpdateMesh
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
Definition: cyclicAMIPointPatch.C:73
Foam::addToRunTimeSelectionTable
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Foam::PstreamBuffers
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Definition: PstreamBuffers.H:85
Foam::cyclicAMIPointPatch::initGeometry
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
Definition: cyclicAMIPointPatch.C:53
pointBoundaryMesh.H
Foam::Field
Pre-declare SubField and related Field type.
Definition: Field.H:57
Foam::polyPatch
A patch is a list of labels that address the faces in the global face list.
Definition: polyPatch.H:66
Foam::coupledFacePointPatch
coupled patch for post-processing. Used as the base class for processor and cyclic pointPatches
Definition: coupledFacePointPatch.H:53
Foam::cyclicAMIPointPatch::initMovePoints
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
Definition: cyclicAMIPointPatch.C:62
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
Foam::cyclicAMIPointPatch::movePoints
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
Definition: cyclicAMIPointPatch.C:69
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::facePointPatch::updateMesh
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
Definition: facePointPatch.C:75
Foam::pointBoundaryMesh
Foam::pointBoundaryMesh.
Definition: pointBoundaryMesh.H:52
Foam::cyclicAMIPointPatch::calcGeometry
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
Definition: cyclicAMIPointPatch.C:57
Foam::cyclicAMIPointPatch::~cyclicAMIPointPatch
virtual ~cyclicAMIPointPatch()
Destructor.
Definition: cyclicAMIPointPatch.C:102
cyclicAMIPointPatch.H
Foam::cyclicAMIPointPatch::cyclicAMIPointPatch
cyclicAMIPointPatch(const cyclicAMIPointPatch &)
Disallow default construct as copy.
Foam::defineTypeNameAndDebug
defineTypeNameAndDebug(combustionModel, 0)
Foam::cyclicAMIPointPatch::updateMesh
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
Definition: cyclicAMIPointPatch.C:80