BUGFIX: Seg-fault in multiphaseInterFoam. Author: Henrik Rusche. Merge: Hrvoje Jasak
[foam-extend-3.2.git] / src / finiteVolume / fields / fvPatchFields / fvPatchVectorNFields / fixedGradientFvPatchVectorNFields.C
blobe409c792631756a49f9b1a4b840e07e4e51169d0
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 #include "fixedGradientFvPatchVectorNFields.H"
27 #include "addToRunTimeSelectionTable.H"
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 namespace Foam
34 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
36 #define doMakePatchTypeField(type, Type, args...)                             \
37                                                                               \
38 makeTemplatePatchTypeField                                                    \
39 (                                                                             \
40     fvPatch##Type##Field,                                                     \
41     fixedGradientFvPatch##Type##Field                                         \
44 forAllVectorNTypes(doMakePatchTypeField)
46 forAllTensorNTypes(doMakePatchTypeField)
48 forAllDiagTensorNTypes(doMakePatchTypeField)
50 forAllSphericalTensorNTypes(doMakePatchTypeField)
53 #undef doMakePatchTypeField
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 } // End namespace Foam
59 // ************************************************************************* //