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-2024 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 
33 // Scalar interpolation
35 namespace Foam
36 {
38  (
41  );
42 }
43 
44 // Vector interpolation
46 namespace Foam
47 {
49  (
52  );
53 }
54 
55 
56 // Basic interpolation
58 (
60  0
61 );
63 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::scalar>>
65 
67 (
69  0
70 );
72 adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::vector>>
74 
75 
76 // Dual interpolation
78 (
80  0
81 );
83 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::scalar>>
85 
87 (
89  0
90 );
92 adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::vector>>
94 
95 
96 // ************************************************************************* //
Base class for lagrangian averaging methods.
Basic lagrangian averaging procedure.
Definition: Basic.H:63
Dual-mesh lagrangian averaging procedure.
Definition: Dual.H:67
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:162
Calculate the gradient of the given field.
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::scalar > > addBasicscalarConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::scalar > > addDualscalarConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Dual< Foam::vector > > addDualvectorConstructorToTable_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Basic< Foam::vector > > addBasicvectorConstructorToTable_
defineNamedTemplateTypeNameAndDebug(Foam::AveragingMethod< Foam::scalar >, 0)
Namespace for OpenFOAM.
defineTemplateRunTimeSelectionTable(fvLabelFieldSource, null)