45 patchType_(word::null)
61 patchType_(word::null)
78 patchType_(ptf.patchType_)
88 const bool valueRequired
97 if (dict.
found(
"value"))
104 else if (!valueRequired)
112 "fvPatchField<Type>::fvPatchField"
115 "const DimensionedField<Type, volMesh>& iF,"
116 "const dictionary& dict,"
117 "const bool valueRequired"
120 ) <<
"Essential entry 'value' missing"
134 internalField_(ptf.internalField_),
136 patchType_(ptf.patchType_)
151 patchType_(ptf.patchType_)
160 return patch_.boundaryMesh().mesh();
167 if (&patch_ != &(ptf.patch_))
169 FatalErrorIn(
"PatchField<Type>::check(const fvPatchField<Type>&)")
170 <<
"different patches for fvPatchField<Type>s"
180 return (*
this - patchInternalField())*patch_.deltaCoeffs();
189 return patch_.patchInternalField(internalField_);
238 if (patchType_.size())
241 << token::END_STATEMENT <<
nl;
247 template<
class EntryType>
251 const word& entryName,
252 const EntryType& value1,
253 const EntryType& value2
256 if (value1 != value2)
258 os.
writeKeyword(entryName) << value2 << token::END_STATEMENT <<
nl;
276 void Foam::fvPatchField<Type>::operator=
287 void Foam::fvPatchField<Type>::operator+=
298 void Foam::fvPatchField<Type>::operator-=
309 void Foam::fvPatchField<Type>::operator*=
314 if (&patch_ != &ptf.
patch())
318 "PatchField<Type>::operator*=(const fvPatchField<scalar>& ptf)"
319 ) <<
"incompatible patches for patch fields"
328 void Foam::fvPatchField<Type>::operator/=
333 if (&patch_ != &ptf.
patch())
337 "PatchField<Type>::operator/=(const fvPatchField<scalar>& ptf)"
338 ) <<
" incompatible patches for patch fields"
347 void Foam::fvPatchField<Type>::operator+=
357 void Foam::fvPatchField<Type>::operator-=
367 void Foam::fvPatchField<Type>::operator*=
377 void Foam::fvPatchField<Type>::operator/=
387 void Foam::fvPatchField<Type>::operator=
397 void Foam::fvPatchField<Type>::operator+=
407 void Foam::fvPatchField<Type>::operator-=
417 void Foam::fvPatchField<Type>::operator*=
427 void Foam::fvPatchField<Type>::operator/=
438 void Foam::fvPatchField<Type>::operator==
448 void Foam::fvPatchField<Type>::operator==
458 void Foam::fvPatchField<Type>::operator==
474 os.
check(
"Ostream& operator<<(Ostream&, const fvPatchField<Type>&");