fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / src / surfMesh / surfaceFormats / stl / STLsurfaceFormatRunTime.C
blobc3c742a4bbb424deb821181fa66757370a8faad8
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright held by original author
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
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.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 \*---------------------------------------------------------------------------*/
27 #include "STLsurfaceFormat.H"
29 #include "addToRunTimeSelectionTable.H"
30 #include "addToMemberFunctionSelectionTable.H"
32 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
34 namespace Foam
36 namespace fileFormats
39 // read MeshedSurface (ascii)
40 addNamedTemplatedToRunTimeSelectionTable
42     MeshedSurface,
43     STLsurfaceFormat,
44     face,
45     fileExtension,
46     stl
48 addNamedTemplatedToRunTimeSelectionTable
50     MeshedSurface,
51     STLsurfaceFormat,
52     triFace,
53     fileExtension,
54     stl
57 // read MeshedSurface (binary)
58 addNamedTemplatedToRunTimeSelectionTable
60     MeshedSurface,
61     STLsurfaceFormat,
62     face,
63     fileExtension,
64     stlb
66 addNamedTemplatedToRunTimeSelectionTable
68     MeshedSurface,
69     STLsurfaceFormat,
70     triFace,
71     fileExtension,
72     stlb
76 // write MeshedSurfaceProxy (ascii)
77 addNamedTemplatedToMemberFunctionSelectionTable
79     MeshedSurfaceProxy,
80     STLsurfaceFormat,
81     face,
82     write,
83     fileExtension,
84     stl
86 addNamedTemplatedToMemberFunctionSelectionTable
88     MeshedSurfaceProxy,
89     STLsurfaceFormat,
90     triFace,
91     write,
92     fileExtension,
93     stl
96 // write MeshedSurfaceProxy (binary)
97 addNamedTemplatedToMemberFunctionSelectionTable
99     MeshedSurfaceProxy,
100     STLsurfaceFormat,
101     face,
102     write,
103     fileExtension,
104     stlb
106 addNamedTemplatedToMemberFunctionSelectionTable
108     MeshedSurfaceProxy,
109     STLsurfaceFormat,
110     triFace,
111     write,
112     fileExtension,
113     stlb
116 // write UnsortedMeshedSurface (ascii)
117 addNamedTemplatedToMemberFunctionSelectionTable
119     UnsortedMeshedSurface,
120     STLsurfaceFormat,
121     face,
122     write,
123     fileExtension,
124     stl
126 addNamedTemplatedToMemberFunctionSelectionTable
128     UnsortedMeshedSurface,
129     STLsurfaceFormat,
130     triFace,
131     write,
132     fileExtension,
133     stl
136 // write UnsortedMeshedSurface (binary)
137 addNamedTemplatedToMemberFunctionSelectionTable
139     UnsortedMeshedSurface,
140     STLsurfaceFormat,
141     face,
142     write,
143     fileExtension,
144     stlb
146 addNamedTemplatedToMemberFunctionSelectionTable
148     UnsortedMeshedSurface,
149     STLsurfaceFormat,
150     triFace,
151     write,
152     fileExtension,
153     stlb
159 // ************************************************************************* //