OpenFOAM: API Guide
v2112
The open source CFD toolbox
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
-------------------------------------------------------------------------------
10
License
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
26
Class
27
Foam::pointPatchFieldMapperPatchRef
28
29
Description
30
Foam::pointPatchFieldMapperPatchRef
31
32
\*---------------------------------------------------------------------------*/
33
34
#ifndef pointPatchFieldMapperPatchRef_H
35
#define pointPatchFieldMapperPatchRef_H
36
37
#include "
pointPatchFieldMapper.H
"
38
39
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40
41
namespace
Foam
42
{
43
44
/*---------------------------------------------------------------------------*\
45
Class pointPatchFieldMapperPatchRef Declaration
46
\*---------------------------------------------------------------------------*/
47
48
class
pointPatchFieldMapperPatchRef
49
:
50
public
pointPatchFieldMapper
51
{
52
// Private data
53
54
const
pointPatch
& sourcePatch_;
55
const
pointPatch
& targetPatch_;
56
57
58
// Private Member Functions
59
60
//- No copy construct
61
pointPatchFieldMapperPatchRef
62
(
63
const
pointPatchFieldMapperPatchRef
&
64
) =
delete
;
65
66
//- No copy assignment
67
void
operator=(
const
pointPatchFieldMapperPatchRef
&) =
delete
;
68
69
70
public
:
71
72
// Constructors
73
74
//- Construct from components
75
pointPatchFieldMapperPatchRef
76
(
77
const
pointPatch
& source,
78
const
pointPatch
& target
79
)
80
:
81
sourcePatch_(source),
82
targetPatch_(target)
83
{}
84
85
86
// Member functions
87
88
const
pointPatch
&
sourcePatch
()
const
89
{
90
return
sourcePatch_;
91
}
92
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
// ************************************************************************* //
pointPatchFieldMapper.H
Foam::pointPatch
Basic pointPatch represents a set of points from the mesh.
Definition:
pointPatch.H:58
Foam::pointPatchFieldMapperPatchRef::sourcePatch
const pointPatch & sourcePatch() const
Definition:
pointPatchFieldMapperPatchRef.H:87
Foam::pointPatchFieldMapper
Foam::pointPatchFieldMapper.
Definition:
pointPatchFieldMapper.H:48
Foam::pointPatchFieldMapperPatchRef::targetPatch
const pointPatch & targetPatch() const
Definition:
pointPatchFieldMapperPatchRef.H:92
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::pointPatchFieldMapperPatchRef
Foam::pointPatchFieldMapperPatchRef.
Definition:
pointPatchFieldMapperPatchRef.H:47
src
OpenFOAM
fields
pointPatchFields
pointPatchField
pointPatchFieldMapperPatchRef.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.