MeshedSurfaceProxys.C 2.35 KB
Newer Older
Mark Olesen's avatar
Mark Olesen committed
1
2
3
4
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     |
Henry Weller's avatar
Henry Weller committed
5
    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
6
     \\/     M anipulation  | Copyright (C) 2016 OpenCFD Ltd.
Mark Olesen's avatar
Mark Olesen committed
7
8
9
10
-------------------------------------------------------------------------------
License
    This file is part of OpenFOAM.

11
12
13
14
    OpenFOAM is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
Mark Olesen's avatar
Mark Olesen committed
15
16
17
18
19
20
21

    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License
22
    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
Mark Olesen's avatar
Mark Olesen committed
23
24
25

\*---------------------------------------------------------------------------*/

Mark Olesen's avatar
Mark Olesen committed
26
27
#include "MeshedSurfaceProxy.H"
#include "addToRunTimeSelectionTable.H"
Mark Olesen's avatar
Mark Olesen committed
28
29
30
31
32
33

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

namespace Foam
{

34
35
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

36
37
38
39
40
41
42
43
#define makeSurface(surfType, faceType)                                        \
    defineNamedTemplateTypeNameAndDebug(surfType<faceType>, 0);                \
    defineTemplatedMemberFunctionSelectionTable                                \
    (                                                                          \
        surfType,                                                              \
        write,                                                                 \
        fileExtension,                                                         \
        faceType                                                               \
44
    );
45
46


Mark Olesen's avatar
Mark Olesen committed
47
48
makeSurface(MeshedSurfaceProxy, face)
makeSurface(MeshedSurfaceProxy, triFace)
49
makeSurface(MeshedSurfaceProxy, labelledTri)
Mark Olesen's avatar
Mark Olesen committed
50
51
52

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

53
} // End namespace Foam
Mark Olesen's avatar
Mark Olesen committed
54
55

// ************************************************************************* //