MeshedSurfaceIOAllocator.H
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef MeshedSurfaceIOAllocator_H
00037 #define MeshedSurfaceIOAllocator_H
00038
00039 #include "pointIOField.H"
00040 #include "faceIOList.H"
00041 #include "surfZoneIOList.H"
00042
00043
00044
00045 namespace Foam
00046 {
00047
00048
00049
00050
00051
00052
00053 class MeshedSurfaceIOAllocator
00054 {
00055
00056
00057
00058 pointIOField points_;
00059
00060
00061 faceIOList faces_;
00062
00063
00064 surfZoneIOList zones_;
00065
00066
00067
00068
00069
00070 MeshedSurfaceIOAllocator(const MeshedSurfaceIOAllocator&);
00071
00072
00073 void operator=(const MeshedSurfaceIOAllocator&);
00074
00075
00076 public:
00077
00078
00079
00080
00081 MeshedSurfaceIOAllocator
00082 (
00083 const IOobject& ioPoints,
00084 const IOobject& ioFaces,
00085 const IOobject& ioZones
00086 );
00087
00088
00089 MeshedSurfaceIOAllocator
00090 (
00091 const IOobject& ioPoints,
00092 const pointField& points,
00093 const IOobject& ioFaces,
00094 const faceList& faces,
00095 const IOobject& ioZones,
00096 const surfZoneList& zones
00097 );
00098
00099
00100 MeshedSurfaceIOAllocator
00101 (
00102 const IOobject& ioPoints,
00103 const Xfer< pointField >& points,
00104 const IOobject& ioFaces,
00105 const Xfer< faceList >& faces,
00106 const IOobject& ioZones,
00107 const Xfer< surfZoneList >& zones
00108 );
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118 pointIOField& storedIOPoints()
00119 {
00120 return points_;
00121 }
00122
00123
00124 faceIOList& storedIOFaces()
00125 {
00126 return faces_;
00127 }
00128
00129
00130 surfZoneIOList& storedIOZones()
00131 {
00132 return zones_;
00133 }
00134
00135
00136 const pointIOField& storedIOPoints() const
00137 {
00138 return points_;
00139 }
00140
00141
00142 const faceIOList& storedIOFaces() const
00143 {
00144 return faces_;
00145 }
00146
00147
00148 const surfZoneIOList& storedIOZones() const
00149 {
00150 return zones_;
00151 }
00152
00153
00154
00155
00156
00157 void clear();
00158
00159
00160
00161 void resetFaces
00162 (
00163 const Xfer< faceList >& faces,
00164 const Xfer< surfZoneList >& zones
00165 );
00166
00167
00168
00169 void reset
00170 (
00171 const Xfer< pointField >& points,
00172 const Xfer< faceList >& faces,
00173 const Xfer< surfZoneList >& zones
00174 );
00175
00176
00177
00178 void reset
00179 (
00180 const Xfer< List<point> >& points,
00181 const Xfer< faceList >& faces,
00182 const Xfer< surfZoneList >& zones
00183 );
00184 };
00185
00186
00187
00188
00189 }
00190
00191
00192
00193 #endif
00194
00195
Copyright © 2000-2009 OpenCFD Ltd