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-------------------------------------------------------------------------------
10License
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
38namespace Foam
39{
41 (
44 );
45}
46
47// Vector interpolation
49namespace Foam
50{
52 (
55 );
56}
57
58
59// Basic interpolation
61(
63 0
64);
66adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::scalar>>
68
70(
72 0
73);
75adddictionaryConstructorToTable<Foam::AveragingMethods::Basic<Foam::vector>>
77
78
79// Dual interpolation
81(
83 0
84);
86adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::scalar>>
88
90(
92 0
93);
95adddictionaryConstructorToTable<Foam::AveragingMethods::Dual<Foam::vector>>
97
98
99// Moment interpolation
101(
103 0
104);
106adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::scalar>>
108
110(
112 0
113);
115adddictionaryConstructorToTable<Foam::AveragingMethods::Moment<Foam::vector>>
117
118
119// ************************************************************************* //
Base class for lagrangian averaging methods.
Basic lagrangian averaging procedure.
Definition: Basic.H:68
Dual-mesh lagrangian averaging procedure.
Definition: Dual.H:72
Moment lagrangian averaging procedure.
Definition: Moment.H:69
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:136
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_
Foam::AveragingMethod< Foam::vector >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::vector > > addMomentvectorConstructorToTable_
Foam::AveragingMethod< Foam::scalar >::adddictionaryConstructorToTable< Foam::AveragingMethods::Moment< Foam::scalar > > addMomentscalarConstructorToTable_
Namespace for OpenFOAM.
#define defineTemplateRunTimeSelectionTable(baseType, argNames)
Define run-time selection table for template classes.