The open source CFD toolbox
zeroFixedValuePointPatchField.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) 2014 OpenFOAM Foundation
9-------------------------------------------------------------------------------
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
29
30// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31
32namespace Foam
33{
34
35// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
36
37template<class Type>
40(
41 const pointPatch& p,
43)
44:
46{}
47
48
49template<class Type>
52(
53 const pointPatch& p,
55 const dictionary& dict
56)
57:
58 fixedValuePointPatchField<Type>(p, iF, dict, false)
59{
61}
62
63
64template<class Type>
67(
69 const pointPatch& p,
71 const pointPatchFieldMapper& mapper
72)
73:
74 fixedValuePointPatchField<Type>(ptf, p, iF, mapper)
75{
76 // For safety re-evaluate
78}
79
80
81template<class Type>
84(
86)
87:
89{}
90
91
92template<class Type>
95(
98)
99:
100 fixedValuePointPatchField<Type>(ptf, iF)
101{
102 // For safety re-evaluate
104}
105
106
107// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108
109} // End namespace Foam
110
111// ************************************************************************* //
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
A FixedValue boundary condition for pointField.
virtual void operator=(const Field< Type > &)
Foam::pointPatchFieldMapper.
Basic pointPatch represents a set of points from the mesh.
Definition: pointPatch.H:64
Enables the specification of a zero fixed value boundary condition.
volScalarField & p
Namespace for OpenFOAM.
static constexpr const zero Zero
Global zero (0)
Definition: zero.H:131
dictionary dict