pointPatchFieldMapperPatchRef.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 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::pointPatchFieldMapperPatchRef
28
29Description
30 Foam::pointPatchFieldMapperPatchRef
31
32\*---------------------------------------------------------------------------*/
33
34#ifndef pointPatchFieldMapperPatchRef_H
35#define pointPatchFieldMapperPatchRef_H
36
38
39// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40
41namespace Foam
42{
43
44/*---------------------------------------------------------------------------*\
45 Class pointPatchFieldMapperPatchRef Declaration
46\*---------------------------------------------------------------------------*/
49:
51{
52 // Private data
53
54 const pointPatch& sourcePatch_;
55 const pointPatch& targetPatch_;
56
57
58 // Private Member Functions
59
60 //- No copy construct
62 (
64 ) = delete;
65
66 //- No copy assignment
67 void operator=(const pointPatchFieldMapperPatchRef&) = delete;
68
69
70public:
71
72 // Constructors
73
74 //- Construct from components
76 (
77 const pointPatch& source,
78 const pointPatch& target
79 )
80 :
81 sourcePatch_(source),
82 targetPatch_(target)
83 {}
84
85
86 // Member functions
88 const pointPatch& sourcePatch() const
89 {
90 return sourcePatch_;
91 }
93 const pointPatch& targetPatch() const
94 {
95 return targetPatch_;
96 }
97};
98
99
100// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101
102} // End namespace Foam
103
104// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105
106#endif
107
108// ************************************************************************* //
Foam::pointPatchFieldMapperPatchRef.
pointPatchFieldMapperPatchRef(const pointPatch &source, const pointPatch &target)
Construct from components.
Foam::pointPatchFieldMapper.
Basic pointPatch represents a set of points from the mesh.
Definition: pointPatch.H:64
Namespace for OpenFOAM.