FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

STLsurfaceFormatRunTime.C

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software: you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
00023 
00024 \*---------------------------------------------------------------------------*/
00025 
00026 #include "STLsurfaceFormat.H"
00027 
00028 #include <OpenFOAM/addToRunTimeSelectionTable.H>
00029 #include <OpenFOAM/addToMemberFunctionSelectionTable.H>
00030 
00031 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
00032 
00033 namespace Foam
00034 {
00035 namespace fileFormats
00036 {
00037 
00038 // read MeshedSurface (ascii)
00039 addNamedTemplatedToRunTimeSelectionTable
00040 (
00041     MeshedSurface,
00042     STLsurfaceFormat,
00043     face,
00044     fileExtension,
00045     stl
00046 );
00047 addNamedTemplatedToRunTimeSelectionTable
00048 (
00049     MeshedSurface,
00050     STLsurfaceFormat,
00051     triFace,
00052     fileExtension,
00053     stl
00054 );
00055 
00056 // read MeshedSurface (binary)
00057 addNamedTemplatedToRunTimeSelectionTable
00058 (
00059     MeshedSurface,
00060     STLsurfaceFormat,
00061     face,
00062     fileExtension,
00063     stlb
00064 );
00065 addNamedTemplatedToRunTimeSelectionTable
00066 (
00067     MeshedSurface,
00068     STLsurfaceFormat,
00069     triFace,
00070     fileExtension,
00071     stlb
00072 );
00073 
00074 
00075 // write MeshedSurfaceProxy (ascii)
00076 addNamedTemplatedToMemberFunctionSelectionTable
00077 (
00078     MeshedSurfaceProxy,
00079     STLsurfaceFormat,
00080     face,
00081     write,
00082     fileExtension,
00083     stl
00084 );
00085 addNamedTemplatedToMemberFunctionSelectionTable
00086 (
00087     MeshedSurfaceProxy,
00088     STLsurfaceFormat,
00089     triFace,
00090     write,
00091     fileExtension,
00092     stl
00093 );
00094 
00095 // write MeshedSurfaceProxy (binary)
00096 addNamedTemplatedToMemberFunctionSelectionTable
00097 (
00098     MeshedSurfaceProxy,
00099     STLsurfaceFormat,
00100     face,
00101     write,
00102     fileExtension,
00103     stlb
00104 );
00105 addNamedTemplatedToMemberFunctionSelectionTable
00106 (
00107     MeshedSurfaceProxy,
00108     STLsurfaceFormat,
00109     triFace,
00110     write,
00111     fileExtension,
00112     stlb
00113 );
00114 
00115 // write UnsortedMeshedSurface (ascii)
00116 addNamedTemplatedToMemberFunctionSelectionTable
00117 (
00118     UnsortedMeshedSurface,
00119     STLsurfaceFormat,
00120     face,
00121     write,
00122     fileExtension,
00123     stl
00124 );
00125 addNamedTemplatedToMemberFunctionSelectionTable
00126 (
00127     UnsortedMeshedSurface,
00128     STLsurfaceFormat,
00129     triFace,
00130     write,
00131     fileExtension,
00132     stl
00133 );
00134 
00135 // write UnsortedMeshedSurface (binary)
00136 addNamedTemplatedToMemberFunctionSelectionTable
00137 (
00138     UnsortedMeshedSurface,
00139     STLsurfaceFormat,
00140     face,
00141     write,
00142     fileExtension,
00143     stlb
00144 );
00145 addNamedTemplatedToMemberFunctionSelectionTable
00146 (
00147     UnsortedMeshedSurface,
00148     STLsurfaceFormat,
00149     triFace,
00150     write,
00151     fileExtension,
00152     stlb
00153 );
00154 
00155 }
00156 }
00157 
00158 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines