OpenFOAM: API Guide
v2112
The open source CFD toolbox
fixedValuePointPatchField.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 | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011-2015 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
\*---------------------------------------------------------------------------*/
27
28
#include "
fixedValuePointPatchField.H
"
29
#include "
boolList.H
"
30
31
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
32
33
template
<
class
Type>
34
Foam::fixedValuePointPatchField<Type>::fixedValuePointPatchField
35
(
36
const
pointPatch
&
p
,
37
const
DimensionedField<Type, pointMesh>
& iF
38
)
39
:
40
valuePointPatchField
<Type>(
p
, iF)
41
{}
42
43
44
template
<
class
Type>
45
Foam::fixedValuePointPatchField<Type>::fixedValuePointPatchField
46
(
47
const
pointPatch
&
p
,
48
const
DimensionedField<Type, pointMesh>
& iF,
49
const
dictionary
&
dict
,
50
const
bool
valueRequired
51
)
52
:
53
valuePointPatchField
<Type>(
p
, iF,
dict
, valueRequired)
54
{}
55
56
57
template
<
class
Type>
58
Foam::fixedValuePointPatchField<Type>::fixedValuePointPatchField
59
(
60
const
fixedValuePointPatchField<Type>
& ptf,
61
const
pointPatch
&
p
,
62
const
DimensionedField<Type, pointMesh>
& iF,
63
const
pointPatchFieldMapper
& mapper
64
)
65
:
66
valuePointPatchField
<Type>(ptf,
p
, iF, mapper)
67
{}
68
69
70
template
<
class
Type>
71
Foam::fixedValuePointPatchField<Type>::fixedValuePointPatchField
72
(
73
const
fixedValuePointPatchField<Type>
& ptf,
74
const
DimensionedField<Type, pointMesh>
& iF
75
)
76
:
77
valuePointPatchField<Type>
(ptf, iF)
78
{}
79
80
81
// ************************************************************************* //
boolList.H
Foam::DimensionedField
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Definition:
DimensionedField.H:80
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition:
dictionary.H:126
Foam::fixedValuePointPatchField
A FixedValue boundary condition for pointField.
Definition:
fixedValuePointPatchField.H:54
Foam::pointPatchFieldMapper
Foam::pointPatchFieldMapper.
Definition:
pointPatchFieldMapper.H:50
Foam::pointPatch
Basic pointPatch represents a set of points from the mesh.
Definition:
pointPatch.H:64
Foam::valuePointPatchField
Foam::valuePointPatchField.
Definition:
valuePointPatchField.H:56
p
volScalarField & p
Definition:
createFieldRefs.H:8
fixedValuePointPatchField.H
dict
dictionary dict
Definition:
searchingEngine.H:14
src
OpenFOAM
fields
pointPatchFields
basic
fixedValue
fixedValuePointPatchField.C
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.