zeroFixedValuePointPatchField.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2014-2020 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 
27 
28 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
29 
30 template<class Type>
33 (
34  const pointPatch& p,
36 )
37 :
38  fixedValuePointPatchField<Type>(p, iF)
39 {}
40 
41 
42 template<class Type>
45 (
46  const pointPatch& p,
48  const dictionary& dict
49 )
50 :
51  fixedValuePointPatchField<Type>(p, iF, dict, false)
52 {
54 }
55 
56 
57 template<class Type>
60 (
62  const pointPatch& p,
64  const pointPatchFieldMapper& mapper
65 )
66 :
67  fixedValuePointPatchField<Type>(ptf, p, iF, mapper)
68 {
69  // For safety re-evaluate
71 }
72 
73 
74 template<class Type>
77 (
80 )
81 :
82  fixedValuePointPatchField<Type>(ptf, iF)
83 {
84  // For safety re-evaluate
86 }
87 
88 
89 // ************************************************************************* //
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 any number of values (e....
Definition: dictionary.H:160
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:57
Enables the specification of a zero fixed value boundary condition.
zeroFixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
static const zero Zero
Definition: zero.H:97
dictionary dict
volScalarField & p