directMappedPolyPatch.C
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 #include "directMappedPolyPatch.H"
00028 #include "addToRunTimeSelectionTable.H"
00029
00030
00031
00032 namespace Foam
00033 {
00034 defineTypeNameAndDebug(directMappedPolyPatch, 0);
00035
00036 addToRunTimeSelectionTable(polyPatch, directMappedPolyPatch, word);
00037 addToRunTimeSelectionTable(polyPatch, directMappedPolyPatch, dictionary);
00038 }
00039
00040
00041
00042
00043
00044
00045
00046 Foam::directMappedPolyPatch::directMappedPolyPatch
00047 (
00048 const word& name,
00049 const label size,
00050 const label start,
00051 const label index,
00052 const polyBoundaryMesh& bm
00053 )
00054 :
00055 polyPatch(name, size, start, index, bm),
00056 directMappedPatchBase(static_cast<const polyPatch&>(*this))
00057 {}
00058
00059
00060 Foam::directMappedPolyPatch::directMappedPolyPatch
00061 (
00062 const word& name,
00063 const dictionary& dict,
00064 const label index,
00065 const polyBoundaryMesh& bm
00066 )
00067 :
00068 polyPatch(name, dict, index, bm),
00069 directMappedPatchBase(*this, dict)
00070 {}
00071
00072
00073 Foam::directMappedPolyPatch::directMappedPolyPatch
00074 (
00075 const directMappedPolyPatch& pp,
00076 const polyBoundaryMesh& bm
00077 )
00078 :
00079 polyPatch(pp, bm),
00080 directMappedPatchBase(*this, pp)
00081 {}
00082
00083
00084 Foam::directMappedPolyPatch::directMappedPolyPatch
00085 (
00086 const directMappedPolyPatch& pp,
00087 const polyBoundaryMesh& bm,
00088 const label index,
00089 const label newSize,
00090 const label newStart
00091 )
00092 :
00093 polyPatch(pp, bm, index, newSize, newStart),
00094 directMappedPatchBase(*this, pp)
00095 {}
00096
00097
00098
00099
00100 Foam::directMappedPolyPatch::~directMappedPolyPatch()
00101 {
00102 directMappedPatchBase::clearOut();
00103 }
00104
00105
00106
00107
00108
00109 void Foam::directMappedPolyPatch::initGeometry()
00110 {
00111 polyPatch::initGeometry();
00112 directMappedPatchBase::clearOut();
00113 }
00114
00115
00116 void Foam::directMappedPolyPatch::calcGeometry()
00117 {
00118 polyPatch::calcGeometry();
00119 directMappedPatchBase::clearOut();
00120 }
00121
00122
00123 void Foam::directMappedPolyPatch::initMovePoints(const pointField& p)
00124 {
00125 polyPatch::initMovePoints(p);
00126 directMappedPatchBase::clearOut();
00127 }
00128
00129
00130 void Foam::directMappedPolyPatch::movePoints(const pointField& p)
00131 {
00132 polyPatch::movePoints(p);
00133 directMappedPatchBase::clearOut();
00134 }
00135
00136
00137 void Foam::directMappedPolyPatch::initUpdateMesh()
00138 {
00139 polyPatch::initUpdateMesh();
00140 directMappedPatchBase::clearOut();
00141 }
00142
00143
00144 void Foam::directMappedPolyPatch::updateMesh()
00145 {
00146 polyPatch::updateMesh();
00147 directMappedPatchBase::clearOut();
00148 }
00149
00150
00151 void Foam::directMappedPolyPatch::write(Ostream& os) const
00152 {
00153 polyPatch::write(os);
00154 directMappedPatchBase::write(os);
00155 }
00156
00157
00158
Copyright © 2000-2009 OpenCFD Ltd