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 
00039 
00040 
00041 #ifndef slicedFvsPatchField_H
00042 #define slicedFvsPatchField_H
00043 
00044 #include <finiteVolume/fvsPatchField.H>
00045 
00046 
00047 
00048 namespace Foam
00049 {
00050 
00051 
00052 
00053 
00054 
00055 template<class Type>
00056 class slicedFvsPatchField
00057 :
00058     public fvsPatchField<Type>
00059 {
00060 
00061 public:
00062 
00063     
00064     TypeName("sliced");
00065 
00066 
00067     
00068 
00069         
00070         slicedFvsPatchField
00071         (
00072             const fvPatch&,
00073             const DimensionedField<Type, surfaceMesh>&,
00074             const Field<Type>&
00075         );
00076 
00077         
00078         slicedFvsPatchField
00079         (
00080             const fvPatch&,
00081             const DimensionedField<Type, surfaceMesh>&
00082         );
00083 
00084         
00085         slicedFvsPatchField
00086         (
00087             const fvPatch&,
00088             const DimensionedField<Type, surfaceMesh>&,
00089             const dictionary&
00090         );
00091 
00092         
00093         
00094         slicedFvsPatchField
00095         (
00096             const slicedFvsPatchField<Type>&,
00097             const fvPatch&,
00098             const DimensionedField<Type, surfaceMesh>&,
00099             const fvPatchFieldMapper&
00100         );
00101 
00102         
00103         slicedFvsPatchField(const slicedFvsPatchField<Type>&);
00104 
00105         
00106         virtual tmp<fvsPatchField<Type> > clone() const;
00107 
00108         
00109         slicedFvsPatchField
00110         (
00111             const slicedFvsPatchField<Type>&,
00112             const DimensionedField<Type, surfaceMesh>&
00113         );
00114 
00115         
00116         virtual tmp<fvsPatchField<Type> > clone
00117         (
00118             const DimensionedField<Type, surfaceMesh>& iF
00119         ) const;
00120 
00121 
00122     
00123 
00124         virtual ~slicedFvsPatchField<Type>();
00125 
00126 
00127     
00128 
00129         
00130 
00131             
00132             
00133             
00134             virtual bool fixesValue() const
00135             {
00136                 return true;
00137             }
00138 
00139 
00140         
00141         virtual void write(Ostream&) const;
00142 
00143 
00144     
00145 
00146         virtual void operator=(const UList<Type>&) {}
00147 
00148         virtual void operator=(const fvsPatchField<Type>&) {}
00149         virtual void operator+=(const fvsPatchField<Type>&) {}
00150         virtual void operator-=(const fvsPatchField<Type>&) {}
00151         virtual void operator*=(const fvsPatchField<scalar>&) {}
00152         virtual void operator/=(const fvsPatchField<scalar>&) {}
00153 
00154         virtual void operator+=(const Field<Type>&) {}
00155         virtual void operator-=(const Field<Type>&) {}
00156 
00157         virtual void operator*=(const Field<scalar>&) {}
00158         virtual void operator/=(const Field<scalar>&) {}
00159 
00160         virtual void operator=(const Type&) {}
00161         virtual void operator+=(const Type&) {}
00162         virtual void operator-=(const Type&) {}
00163         virtual void operator*=(const scalar) {}
00164         virtual void operator/=(const scalar) {}
00165 };
00166 
00167 
00168 
00169 
00170 } 
00171 
00172 
00173 
00174 #ifdef NoRepository
00175 #   include <finiteVolume/slicedFvsPatchField.C>
00176 #endif
00177 
00178 
00179 
00180 #endif
00181 
00182