Loading...
Searching...
No Matches
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 Copyright (C) 2023-2025 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27\*---------------------------------------------------------------------------*/
28
30
31// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
32
33template<class Type>
35(
36 const pointPatch& p,
39:
40 parent_bctype(p, iF)
41{}
42
43
44template<class Type>
46(
47 const pointPatch& p,
49 const Type& value
51:
52 parent_bctype(p, iF, value)
53{}
54
55
56template<class Type>
58(
59 const pointPatch& p,
61 const dictionary& dict,
64:
65 parent_bctype(p, iF, dict, requireValue)
66{}
67
68
69template<class Type>
71(
73 const pointPatch& p,
75 const pointPatchFieldMapper& mapper
77:
78 parent_bctype(pfld, p, iF, mapper)
79{}
80
81
82template<class Type>
84(
86 const pointPatch& p,
88 const Type& value
90:
91 parent_bctype(pfld, p, iF, value)
92{}
93
94
95template<class Type>
97(
100)
101:
102 parent_bctype(pfld, iF)
103{}
104
105
106// ************************************************************************* //
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
readOption
Enumeration defining read preferences.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
A FixedValue boundary condition for pointField.
fixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Foam::pointPatchFieldMapper.
Basic pointPatch represents a set of points from the mesh.
Definition pointPatch.H:67
volScalarField & p
dictionary dict