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 #ifndef EmptyTetPointPatchField_H
00036 #define EmptyTetPointPatchField_H
00037
00038 #include "TetPointPatchField.H"
00039
00040
00041
00042 namespace Foam
00043 {
00044
00045
00046
00047
00048
00049 template
00050 <
00051 template<class> class PatchField,
00052 class PointPatch,
00053 class EmptyPointPatch,
00054 class Type
00055 >
00056 class EmptyTetPointPatchField
00057 :
00058 public PatchField<Type>
00059 {
00060
00061 public:
00062
00063
00064 TypeName(EmptyPointPatch::typeName_());
00065
00066
00067
00068
00069
00070 EmptyTetPointPatchField
00071 (
00072 const PointPatch&,
00073 const Field<Type>&
00074 );
00075
00076
00077 EmptyTetPointPatchField
00078 (
00079 const PointPatch&,
00080 const Field<Type>&,
00081 const Field<Type>&
00082 );
00083
00084
00085 EmptyTetPointPatchField
00086 (
00087 const PointPatch&,
00088 const Field<Type>&,
00089 const dictionary&
00090 );
00091
00092
00093 EmptyTetPointPatchField
00094 (
00095 const EmptyTetPointPatchField
00096 <PatchField, PointPatch, EmptyPointPatch, Type>&,
00097 const PointPatch&,
00098 const Field<Type>&,
00099 const TetPointPatchFieldMapper&
00100 );
00101
00102
00103 virtual autoPtr<PatchField<Type> > clone() const
00104 {
00105 return autoPtr<PatchField<Type> >
00106 (
00107 new EmptyTetPointPatchField
00108 <PatchField, PointPatch, EmptyPointPatch, Type>
00109 (
00110 *this
00111 )
00112 );
00113 }
00114
00115
00116 EmptyTetPointPatchField
00117 (
00118 const EmptyTetPointPatchField
00119 <PatchField, PointPatch, EmptyPointPatch, Type>&,
00120 const Field<Type>&
00121 );
00122
00123
00124 virtual autoPtr<PatchField<Type> > clone
00125 (
00126 const Field<Type>& iF
00127 ) const
00128 {
00129 return autoPtr<PatchField<Type> >
00130 (
00131 new EmptyTetPointPatchField
00132 <PatchField, PointPatch, EmptyPointPatch, Type>
00133 (
00134 *this,
00135 iF
00136 )
00137 );
00138 }
00139 };
00140
00141
00142
00143
00144 }
00145
00146
00147
00148 #ifdef NoRepository
00149 # include "EmptyTetPointPatchField.C"
00150 #endif
00151
00152
00153
00154 #endif
00155
00156