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