makeAveragingMethods.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) 2013-2016 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 "Field.H"
29 #include "fvcGrad.H"
31 
32 #include "Basic.H"
33 #include "Dual.H"
34 #include "Moment.H"
35 
36 // Scalar interpolation
38 namespace Foam
39 {
41  (
42  AveragingMethod<Foam::scalar>,
43  dictionary
44  );
45 }
46 
47 // Vector interpolation
49 namespace Foam
50 {
52  (
54  dictionary
55  );
56 }
57 
58 
59 // Basic interpolation
61 (
63  0
64 );
66 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::scalar>>
68 
70 (
72  0
73 );
75 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::vector>>
77 
78 
79 // Dual interpolation
81 (
83  0
84 );
86 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::scalar>>
88 
90 (
92  0
93 );
95 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::vector>>
97 
98 
99 // Moment interpolation
101 (
103  0
104 );
106 adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::scalar>>
108 
110 (
112  0
113 );
115 adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::vector>>
117 
118 
119 // ************************************************************************* //
Foam::AveragingMethod
Base class for lagrangian averaging methods.
Definition: KinematicParcel.H:69
addDualscalarConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::scalar > > addDualscalarConstructorToTable_
Definition: makeAveragingMethods.C:87
Dual.H
polyMeshTetDecomposition.H
defineNamedTemplateTypeNameAndDebug
defineNamedTemplateTypeNameAndDebug(Foam::AveragingMethod< Foam::scalar >, 0)
Field.H
addBasicvectorConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::vector > > addBasicvectorConstructorToTable_
Definition: makeAveragingMethods.C:76
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Basic.H
Foam::defineTemplateRunTimeSelectionTable
defineTemplateRunTimeSelectionTable(faePatchScalarField, patch)
Foam::AveragingMethods::Moment
Moment lagrangian averaging procedure.
Definition: Moment.H:66
addBasicscalarConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::scalar > > addBasicscalarConstructorToTable_
Definition: makeAveragingMethods.C:67
addDualvectorConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::vector > > addDualvectorConstructorToTable_
Definition: makeAveragingMethods.C:96
fvcGrad.H
Calculate the gradient of the given field.
Foam::AveragingMethods::Basic
Basic lagrangian averaging procedure.
Definition: Basic.H:65
Foam::AveragingMethods::Dual
Dual-mesh lagrangian averaging procedure.
Definition: Dual.H:69
addMomentvectorConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::vector > > addMomentvectorConstructorToTable_
Definition: makeAveragingMethods.C:116
addMomentscalarConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::scalar > > addMomentscalarConstructorToTable_
Definition: makeAveragingMethods.C:107
Moment.H