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