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 #include "directMappedWallPolyPatch.H"
00027 #include <OpenFOAM/addToRunTimeSelectionTable.H>
00028 
00029 
00030 
00031 namespace Foam
00032 {
00033     defineTypeNameAndDebug(directMappedWallPolyPatch, 0);
00034 
00035     addToRunTimeSelectionTable(polyPatch, directMappedWallPolyPatch, word);
00036     addToRunTimeSelectionTable
00037     (
00038         polyPatch,
00039         directMappedWallPolyPatch,
00040         dictionary
00041     );
00042 }
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00051 (
00052     const word& name,
00053     const label size,
00054     const label start,
00055     const label index,
00056     const polyBoundaryMesh& bm
00057 )
00058 :
00059     wallPolyPatch(name, size, start, index, bm),
00060     directMappedPatchBase(static_cast<const polyPatch&>(*this))
00061 {}
00062 
00063 
00064 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00065 (
00066     const word& name,
00067     const label size,
00068     const label start,
00069     const label index,
00070     const word& sampleRegion,
00071     const directMappedPatchBase::sampleMode mode,
00072     const word& samplePatch,
00073     const vectorField& offset,
00074     const polyBoundaryMesh& bm
00075 )
00076 :
00077     wallPolyPatch(name, size, start, index, bm),
00078     directMappedPatchBase
00079     (
00080         static_cast<const polyPatch&>(*this),
00081         sampleRegion,
00082         mode,
00083         samplePatch,
00084         offset
00085     )
00086 {}
00087 
00088 
00089 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00090 (
00091     const word& name,
00092     const label size,
00093     const label start,
00094     const label index,
00095     const word& sampleRegion,
00096     const directMappedPatchBase::sampleMode mode,
00097     const word& samplePatch,
00098     const vector& offset,
00099     const polyBoundaryMesh& bm
00100 )
00101 :
00102     wallPolyPatch(name, size, start, index, bm),
00103     directMappedPatchBase
00104     (
00105         static_cast<const polyPatch&>(*this),
00106         sampleRegion,
00107         mode,
00108         samplePatch,
00109         offset
00110     )
00111 {}
00112 
00113 
00114 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00115 (
00116     const word& name,
00117     const dictionary& dict,
00118     const label index,
00119     const polyBoundaryMesh& bm
00120 )
00121 :
00122     wallPolyPatch(name, dict, index, bm),
00123     directMappedPatchBase(*this, dict)
00124 {}
00125 
00126 
00127 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00128 (
00129     const directMappedWallPolyPatch& pp,
00130     const polyBoundaryMesh& bm
00131 )
00132 :
00133     wallPolyPatch(pp, bm),
00134     directMappedPatchBase(*this, pp)
00135 {}
00136 
00137 
00138 Foam::directMappedWallPolyPatch::directMappedWallPolyPatch
00139 (
00140     const directMappedWallPolyPatch& pp,
00141     const polyBoundaryMesh& bm,
00142     const label index,
00143     const label newSize,
00144     const label newStart
00145 )
00146 :
00147     wallPolyPatch(pp, bm, index, newSize, newStart),
00148     directMappedPatchBase(*this, pp)
00149 {}
00150 
00151 
00152 
00153 
00154 Foam::directMappedWallPolyPatch::~directMappedWallPolyPatch()
00155 {
00156     directMappedPatchBase::clearOut();
00157 }
00158 
00159 
00160 
00161 
00162 
00163 void Foam::directMappedWallPolyPatch::initGeometry()
00164 {
00165     wallPolyPatch::initGeometry();
00166     directMappedPatchBase::clearOut();
00167 }
00168 
00169 
00170 void Foam::directMappedWallPolyPatch::calcGeometry()
00171 {
00172     wallPolyPatch::calcGeometry();
00173     directMappedPatchBase::clearOut();
00174 }
00175 
00176 
00177 void Foam::directMappedWallPolyPatch::initMovePoints(const pointField& p)
00178 {
00179     wallPolyPatch::initMovePoints(p);
00180     directMappedPatchBase::clearOut();
00181 }
00182 
00183 
00184 void Foam::directMappedWallPolyPatch::movePoints(const pointField& p)
00185 {
00186     wallPolyPatch::movePoints(p);
00187     directMappedPatchBase::clearOut();
00188 }
00189 
00190 
00191 void Foam::directMappedWallPolyPatch::initUpdateMesh()
00192 {
00193     wallPolyPatch::initUpdateMesh();
00194     directMappedPatchBase::clearOut();
00195 }
00196 
00197 
00198 void Foam::directMappedWallPolyPatch::updateMesh()
00199 {
00200     wallPolyPatch::updateMesh();
00201     directMappedPatchBase::clearOut();
00202 }
00203 
00204 
00205 void Foam::directMappedWallPolyPatch::write(Ostream& os) const
00206 {
00207     wallPolyPatch::write(os);
00208     directMappedPatchBase::write(os);
00209 }
00210 
00211 
00212