OpenFOAM: API Guide
v2112
The open source CFD toolbox
areaFields.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) 2016-2017 Wikki Ltd
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::areaFields
28
29
Description
30
Finite area area (element) fields
31
32
Author
33
Zeljko Tukovic, FMENA
34
Hrvoje Jasak, Wikki Ltd.
35
36
SourceFiles
37
areaFields.C
38
39
\*---------------------------------------------------------------------------*/
40
41
#ifndef Foam_areaFields_H
42
#define Foam_areaFields_H
43
44
#include "
objectRegistry.H
"
45
#include "
GeometricFields.H
"
46
#include "
areaFaMesh.H
"
47
#include "
faMesh.H
"
48
#include "
faPatchFields.H
"
49
#include "
areaFieldsFwd.H
"
50
#include "
calculatedFaPatchFields.H
"
51
52
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53
54
namespace
Foam
55
{
56
57
// Specializations
58
59
template
<>
60
tmp<GeometricField<scalar, faPatchField, areaMesh>
>
61
GeometricField<scalar, faPatchField, areaMesh>::component
62
(
63
const
direction
64
)
const
;
65
66
template
<>
67
void
GeometricField<scalar, faPatchField, areaMesh>::replace
68
(
69
const
direction
,
70
const
GeometricField<scalar, faPatchField, areaMesh>
& sf
71
);
72
73
74
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75
76
}
// End namespace Foam
77
78
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
79
80
#endif
81
82
// ************************************************************************* //
GeometricFields.H
The standard GeometricField types.
areaFaMesh.H
areaFieldsFwd.H
Forwards and collection of common area field types.
calculatedFaPatchFields.H
Foam::GeometricField
Generic GeometricField class.
Definition:
GeometricField.H:80
Foam::GeometricField::replace
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.
Foam::functionObjects::fieldInfo::component
label component() const
Definition:
fieldInfo.H:112
Foam::tmp
A class for managing temporary objects.
Definition:
tmp.H:65
faMesh.H
faPatchFields.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:34
Foam::direction
uint8_t direction
Definition:
direction.H:56
objectRegistry.H
src
finiteArea
fields
areaFields
areaFields.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.