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