makeAveragingMethods.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) 2013-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 
26 #include "Field.H"
27 #include "fvcGrad.H"
29 
30 #include "Basic.H"
31 #include "Dual.H"
32 #include "Moment.H"
33 
34 // Scalar interpolation
36 namespace Foam
37 {
39  (
40  AveragingMethod<Foam::scalar>,
41  dictionary
42  );
43 }
44 
45 // Vector interpolation
47 namespace Foam
48 {
50  (
52  dictionary
53  );
54 }
55 
56 
57 // Basic interpolation
59 (
61  0
62 );
64 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::scalar>>
66 
68 (
70  0
71 );
73 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::vector>>
75 
76 
77 // Dual interpolation
79 (
81  0
82 );
84 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::scalar>>
86 
88 (
90  0
91 );
93 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::vector>>
95 
96 
97 // Moment interpolation
99 (
101  0
102 );
104 adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::scalar>>
106 
108 (
110  0
111 );
113 adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::vector>>
115 
116 
117 // ************************************************************************* //
defineNamedTemplateTypeNameAndDebug(fvPatchScalarField, 0)
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::scalar > > addMomentscalarConstructorToTable_
defineNamedTemplateTypeNameAndDebug(Foam::AveragingMethod< Foam::scalar >, 0)
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::vector > > addMomentvectorConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::scalar > > addDualscalarConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::vector > > addDualvectorConstructorToTable_
Moment lagrangian averaging procedure.
Definition: Moment.H:61
Basic lagrangian averaging procedure.
Definition: Basic.H:60
Calculate the gradient of the given field.
Base class for lagrangian averaging methods.
Definition: MPPICParcel.H:55
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::vector > > addBasicvectorConstructorToTable_
Dual-mesh lagrangian averaging procedure.
Definition: Dual.H:64
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::scalar > > addBasicscalarConstructorToTable_
defineTemplateRunTimeSelectionTable(fvPatchScalarField, patch)
Namespace for OpenFOAM.