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 timeVaryingUniformFixedValuePointPatchField_H
00039 #define timeVaryingUniformFixedValuePointPatchField_H
00040
00041 #include <OpenFOAM/fixedValuePointPatchField.H>
00042 #include <OpenFOAM/interpolationTable.H>
00043
00044
00045
00046 namespace Foam
00047 {
00048
00049
00050
00051
00052
00053 template<class Type>
00054 class timeVaryingUniformFixedValuePointPatchField
00055 :
00056 public fixedValuePointPatchField<Type>
00057 {
00058
00059
00060
00061 interpolationTable<Type> timeSeries_;
00062
00063
00064 public:
00065
00066
00067 TypeName("timeVaryingUniformFixedValue");
00068
00069
00070
00071
00072
00073 timeVaryingUniformFixedValuePointPatchField
00074 (
00075 const pointPatch&,
00076 const DimensionedField<Type, pointMesh>&
00077 );
00078
00079
00080 timeVaryingUniformFixedValuePointPatchField
00081 (
00082 const pointPatch&,
00083 const DimensionedField<Type, pointMesh>&,
00084 const dictionary&
00085 );
00086
00087
00088 timeVaryingUniformFixedValuePointPatchField
00089 (
00090 const timeVaryingUniformFixedValuePointPatchField<Type>&,
00091 const pointPatch&,
00092 const DimensionedField<Type, pointMesh>&,
00093 const pointPatchFieldMapper&
00094 );
00095
00096
00097 timeVaryingUniformFixedValuePointPatchField
00098 (
00099 const timeVaryingUniformFixedValuePointPatchField<Type>&
00100 );
00101
00102
00103 virtual autoPtr<pointPatchField<Type> > clone() const
00104 {
00105 return autoPtr<pointPatchField<Type> >
00106 (
00107 new timeVaryingUniformFixedValuePointPatchField<Type>(*this)
00108 );
00109 }
00110
00111
00112 timeVaryingUniformFixedValuePointPatchField
00113 (
00114 const timeVaryingUniformFixedValuePointPatchField<Type>&,
00115 const DimensionedField<Type, pointMesh>&
00116 );
00117
00118
00119 virtual autoPtr<pointPatchField<Type> > clone
00120 (
00121 const DimensionedField<Type, pointMesh>& iF
00122 ) const
00123 {
00124 return autoPtr<pointPatchField<Type> >
00125 (
00126 new timeVaryingUniformFixedValuePointPatchField<Type>(*this, iF)
00127 );
00128 }
00129
00130
00131
00132
00133
00134
00135
00136 const interpolationTable<Type>& timeSeries() const
00137 {
00138 return timeSeries_;
00139 }
00140
00141
00142
00143
00144
00145 virtual void updateCoeffs();
00146
00147
00148
00149 virtual void write(Ostream&) const;
00150 };
00151
00152
00153
00154
00155 }
00156
00157
00158
00159 #ifdef NoRepository
00160 # include <OpenFOAM/timeVaryingUniformFixedValuePointPatchField.C>
00161 #endif
00162
00163
00164
00165 #endif
00166
00167