surfaceSlipDisplacementFvPatchField.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
00037
00038 #ifndef surfaceSlipDisplacementFvPatchField_H
00039 #define surfaceSlipDisplacementFvPatchField_H
00040
00041 #include "slipFvPatchField.H"
00042
00043
00044
00045 namespace Foam
00046 {
00047
00048
00049
00050
00051
00052 template<class Type>
00053 class surfaceSlipDisplacementFvPatchField
00054 :
00055 public slipFvPatchField<Type>
00056 {
00057
00058 public:
00059
00060
00061 TypeName("surfaceSlipDisplacement");
00062
00063
00064
00065
00066
00067 surfaceSlipDisplacementFvPatchField
00068 (
00069 const fvPatch& p,
00070 const DimensionedField<Type, volMesh>& iF
00071 )
00072 :
00073 slipFvPatchField<Type>(p, iF)
00074 {}
00075
00076
00077 surfaceSlipDisplacementFvPatchField
00078 (
00079 const fvPatch& p,
00080 const DimensionedField<Type, volMesh>& iF,
00081 const dictionary& dict
00082 )
00083 :
00084 slipFvPatchField<Type>(p, iF, dict)
00085 {}
00086
00087
00088
00089 surfaceSlipDisplacementFvPatchField
00090 (
00091 const surfaceSlipDisplacementFvPatchField<Type>& ptf,
00092 const fvPatch& p,
00093 const DimensionedField<Type, volMesh>& iF,
00094 const fvPatchFieldMapper& mapper
00095 )
00096 :
00097 slipFvPatchField<Type>(ptf, p, iF, mapper)
00098 {}
00099
00100
00101
00102 surfaceSlipDisplacementFvPatchField
00103 (
00104 const surfaceSlipDisplacementFvPatchField<Type>& ptf
00105 )
00106 :
00107 slipFvPatchField<Type>(ptf)
00108 {}
00109
00110
00111 virtual tmp<fvPatchField<Type> > clone() const
00112 {
00113 return tmp<fvPatchField<Type> >
00114 (
00115 new surfaceSlipDisplacementFvPatchField<Type>(*this)
00116 );
00117 }
00118
00119
00120 surfaceSlipDisplacementFvPatchField
00121 (
00122 const surfaceSlipDisplacementFvPatchField<Type>& ptf,
00123 const DimensionedField<Type, volMesh>& iF
00124 )
00125 :
00126 slipFvPatchField<Type>(ptf, iF)
00127 {}
00128
00129
00130 virtual tmp<fvPatchField<Type> > clone
00131 (
00132 const DimensionedField<Type, volMesh>& iF
00133 ) const
00134 {
00135 return tmp<fvPatchField<Type> >
00136 (
00137 new surfaceSlipDisplacementFvPatchField<Type>(*this, iF)
00138 );
00139 }
00140
00141 virtual void write(Ostream& os) const
00142 {
00143 slipFvPatchField<Type>::write(os);
00144
00145 this->writeEntry("value", os);
00146 }
00147 };
00148
00149
00150
00151
00152 }
00153
00154
00155
00156 #endif
00157
00158
Copyright © 2000-2009 OpenCFD Ltd